Represents a link between two diagram nodes.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight
C#
![]() |
---|
public class DiagramLink : DiagramItem, InplaceEditable |
Visual Basic
![]() |
---|
Public Class DiagramLink |
Links between nodes in DiagramLite are represented by instances of the DiagramLink class. Links connect at most two nodes, which can be accessed via the Origin and Destination properties. If connected to node anchor points, the point indices can be accessed using the OriginAnchor and DestinationAnchor properties. To control whether users are allowed to change link end points, set AllowMoveStart and AllowMoveEnd.
Links are built of smaller parts called segments, which can be straight lines, cascading orthogonal lines or Bezier curves. The type of segments is set through the Shape property. The number of link's segments is specified by the SegmentCount property. Access to control point locations is provided by the ControlPoints collection.
System.Object
System.Windows.DependencyObject
System.Windows.UIElement
System.Windows.FrameworkElement
System.Windows.Controls.Control
System.Windows.Controls.ContentControl
MindFusion.Diagramming.DiagramItem
MindFusion.Diagramming.DiagramLink