Gets or sets custom data associated with this cell.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public Object Tag { get; set; } |
Visual Basic Copy Code |
---|
Public Property Tag As Object |
An instance of any class derived from System.Object. The default value is null (Nothing in Visual Basic).
This property holds data that you define and is not used by Diagramming for WPF in any way. The tag could be any value of a primitive data type or a complex object from the .NET class library or a class defined by you. If the tag is an instance of a value type, it will be serialized together with the cell containing it when saving/loading the diagram. Reference types are serialized if marked with the [Serializable] attribute or if they implement the ISerializable interface.