Search
AnchorPoint.Tag Property
See Also
 





Gets or sets a user-defined data associated with the anchor point.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 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 is null.

 Remarks

This property holds data that you define. MindFusion.Diagramming does not use it in any way. You might associate with the anchor point any value of primitive data types. The tag also might be a complex object from the .NET class library or a class defined by you. If the tag is an instance of value type, it will be serialized together with the object containing it when saving / loading a diagram. Reference types are serialized if marked with the [Serializable] attribute or if they implement the ISerializable interface.

 See Also