MindFusion.Wpf Pack Programmer's Guide
TableNode.Cell.Tag Property
See Also
 





Gets or sets custom data associated with this cell.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public Object Tag { get; set; }

Visual Basic  Copy Code

Public Property Tag As Object

 Property Value

An instance of any class derived from System.Object. The default value is null (Nothing in Visual Basic).

 Remarks

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.

 See Also

TableNode.Cell Members
TableNode.Cell Class
MindFusion.Diagramming.Wpf Namespace
DiagramBase.SerializeTag Event