MindFusion.Wpf Pack Programmer's Guide
DiagramLink.OriginIndex Property
See Also
 





Gets or sets the index of link's origin anchor point or table row.

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

 Syntax

C#  Copy Code

public int OriginIndex { get; set; }

Visual Basic  Copy Code

Public Property OriginIndex As Integer

 Property Value

An integer value specifying the index of table's row or index of an anchor point within its containing AnchorPattern.

 Remarks

If a link's origin is a shape node, this property lets you get or set  the index of an anchor point at which the link docks to the node. If there is no AnchorPattern defined for the origin node, the property returns -1. If the link is connected to a table, the property returns or changes the related row of that table.

 See Also

DiagramLink Members
DiagramLink Class
MindFusion.Diagramming.Wpf Namespace
DestinationIndex Property