Gets or sets user-defined identifier associated with this item.
Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming
C# Copy Code |
---|
public Object Id { get; set; } |
Visual Basic Copy Code |
---|
Public Property Id As Object |
An instance of any class derived from System.Object.
This property contains data that you define and is not used by the control in any way. You can associate with the item any value of a primitive data type, an object from the .NET class library or a custom class. If the id is an instance of value type it will be serialized together with the item containing it when saving / loading the diagram. Reference types are serialized if marked with the [Serializable] attribute or if they implement the ISerializable interface.
DiagramItem Members
DiagramItem Class
MindFusion.Diagramming Namespace
Diagram.FindNodeById Method
Diagram.FindLinkById Method
Diagram.SerializeTag Event
Tag Property