IDataCollection

StockSharp.Xaml.Diagram.GXDiagram.Model

A serializable collection of data representing a set of nodes and links.

Properties

Model
public IDiagramModel Model { get; set; }
value = iDataCollection.Model
iDataCollection.Model = value

Gets or sets the model holds this collection's data.

Nodes
public IEnumerable<object> Nodes { get; set; }
value = iDataCollection.Nodes
iDataCollection.Nodes = value

Gets or sets the collection of node data.

Methods

AddNode
public void AddNode(object nodedata)
iDataCollection.AddNode(nodedata)

Add a node data to this collection.

nodedata
ContainsNode
public bool ContainsNode(object nodedata)
result = iDataCollection.ContainsNode(nodedata)

This predicate is true if the given node data is in the collection of Nodes.

nodedata
RemoveNode
public void RemoveNode(object nodedata)
iDataCollection.RemoveNode(nodedata)

Remove a node data from this collection.

nodedata