Represents a link between two diagram nodes.
The following tables list the members exposed by the DiagramLink type.
Name | Description | |
---|---|---|
Overloaded. |
Name | Description | |
---|---|---|
Identifies the AllowMoveEnd dependency property. |
||
Identifies the AllowMoveStart dependency property. |
||
Identifies the BaseBrush dependency property. |
||
Identifies the HeadBrush dependency property. |
||
Identifies the HeadStroke dependency property. |
||
Identifies the HeadStrokeThickness dependency property. |
||
Identifies the IntermediateBrush dependency property. |
||
Identifies the Text dependency property. |
Name | Description | |
---|---|---|
Identifies the AutoCaptureMouse dependency property. (Inherited from DiagramItem.) |
||
Identifies the Brush dependency property. (Inherited from DiagramItem.) |
||
Identifies the HyperLink dependency property. (Inherited from DiagramItem.) |
||
Identifies the IsMouseDown dependency property. (Inherited from DiagramItem.) |
||
Identifies the IsMouseOver dependency property. (Inherited from DiagramItem.) |
||
Identifies the StrokeDashArray dependency property. (Inherited from DiagramItem.) |
||
Identifies the StrokeDashCap dependency property. (Inherited from DiagramItem.) |
||
Identifies the StrokeDashOffset dependency property. (Inherited from DiagramItem.) |
||
Identifies the StrokeEndLineCap dependency property. (Inherited from DiagramItem.) |
||
Identifies the StrokeLineJoin dependency property. (Inherited from DiagramItem.) |
||
Identifies the StrokeMiterLimit dependency property. (Inherited from DiagramItem.) |
||
Identifies the Stroke dependency property. (Inherited from DiagramItem.) |
||
Identifies the StrokeStartLineCap dependency property. (Inherited from DiagramItem.) |
||
Identifies the StrokeThickness dependency property. (Inherited from DiagramItem.) |
||
Identifies the TextBrush dependency property. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
A list of the Rectangle objects that represent the item's adjustment handles. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
Gets or sets a value indicating whether the user is allowed to move the end point of a link. This is a dependency property |
||
Gets or sets a value indicating whether the user is allowed to move the first control point of a link. This is a dependency property. |
||
Gets or sets a value indicating whether a link should avoid nodes by going the shortest path from its origin to its destination without crossing any other nodes. |
||
Gets or sets the brush used to paint the link's BaseShape. |
||
Gets or sets what shape to display at the beginning of a link. |
||
Gets or sets the size of the BaseShape shape. |
||
Gets or sets the orientation of the first segment of a cascading link. |
||
Gets or sets a collection of the control points of this link. |
||
Gets or sets the destination node of this link. |
||
Gets or sets the index of the destination anchor point within the AnchorPattern that contains it. |
||
Gets or sets the index of link's destination anchor point or table row. |
||
Gets or sets the row to which this link should be connected when the destination node is a table. |
||
Gets or sets a value indicating whether a link automatically adjusts its end points positions in order to keep pointing to the centers of nodes that it connects. |
||
Gets or sets the mouse position where the user ended drawing ot modifying a link. |
||
Gets or sets the brush used to paint the link's arrowhead shape. |
||
Gets or sets the shape of this link's arrowhead. |
||
Gets or sets the size of the arrowhead shape. |
||
Gets or sets the Brush that specifies how the arrowhead stroke outline is painted. This is a dependency property. |
||
Gets or sets the width of the arrowhead stroke outline. This is a dependency property. |
||
Gets or sets the brush used to paint the link's IntermediateShape. |
||
Gets or sets the shape displayed at the middle of each segment of the link. |
||
Gets or sets the size of the IntermediateShape shape. |
||
Gets a value indicating whether the link is connected to nodes at both its ends. |
||
Returns the list of all labels displayed by this link. |
||
Gets or sets the origin node of the link. |
||
Gets or sets the index of the origin anchor point within the AnchorPattern that contains it. |
||
Gets or sets the index of link's origin anchor point or table row. |
||
Gets or sets the row to which this link should be connected when the origin node is a table. |
||
Gets or sets the number of segments of this link. |
||
Gets or sets the type of link segments and how they are positioned one relatively to another. |
||
Gets or sets the mouse position where the user starts drawing or modifying the link. |
||
Gets or sets the text displayed over a link. This is a dependency property. |
||
The control which displays the link text. |
Name | Description | |
---|---|---|
A node that will become the link's Origin or Destination if the current link drawing or modification operation completes at the current mouse pointer location. |
Name | Description | |
---|---|---|
Gets or sets whether the item should capture the mouse input when the left button is pressed over it. This is a dependency property. (Inherited from DiagramItem.) |
||
Gets or sets the Brush that specifies how to paint the interior of the item. This is a dependency property. (Inherited from DiagramItem.) |
||
Gets the parent diagram. (Inherited from DiagramItem.) |
||
Gets or sets a value indicating how the node adjustment handles behave and what do they look like. (Inherited from DiagramItem.) |
||
Gets or sets the hyperlink associated with this diagram item. This is a dependency property. (Inherited from DiagramItem.) |
||
Gets or sets user-defined identifier associated with this item. (Inherited from DiagramItem.) |
||
Gets or sets a value indicating whether the position of this item should not be changed by automatic layout methods. (Inherited from DiagramItem.) |
||
Gets a value indicating whether the mouse button is pressed over this item. This is a dependency property. (Inherited from DiagramItem.) |
||
Gets a value indicating whether the mouse pointer is located over this item. This is a dependency property. (Inherited from DiagramItem.) |
||
Gets or sets the zero-based index of the layer this item is associated with, or -1, if the item is not associated with a layer. (Inherited from DiagramItem.) |
||
Contains properties specific to each layout algorithm. (Inherited from DiagramItem.) |
||
Gets or sets a value indicating whether users are allowed to edit the diagram item. (Inherited from DiagramItem.) |
||
For internal use. (Inherited from DiagramItem.) |
||
Gets or sets a value indicating whether a diagram item is selected. (Inherited from DiagramItem.) |
||
Gets or sets the Brush that specifies how the item outline is painted. (Inherited from DiagramItem.) |
||
Gets or sets a collection of double values that indicate the pattern of dashes and gaps that is used to outline nodes. This is a dependency property. (Inherited from DiagramItem.) |
||
Gets or sets a PenLineCap enumeration value that specifies how the ends of a dash are drawn. (Inherited from DiagramItem.) |
||
Gets or sets a double value that specifies the distance within the dash pattern where a dash begins. This is a dependency property. (Inherited from DiagramItem.) |
||
Gets or sets a PenLineCap enumeration value that specifies what shape to draw at the end of a Stroke. (Inherited from DiagramItem.) |
||
Gets or sets a PenLineJoin enumeration value that specifies the type of join that is used at the vertices of the item's outline. (Inherited from DiagramItem.) |
||
Gets or sets a limit on the ratio of the miter length to half the StrokeThickness of an item outline element. This is a dependency property. (Inherited from DiagramItem.) |
||
Gets or sets a PenLineCap enumeration value that specifies what shape to draw at the start of a Stroke. (Inherited from DiagramItem.) |
||
Gets or sets the width of the DiagramItem stroke outline. (Inherited from DiagramItem.) |
||
Gets or sets the brush used to draw the item's text. (Inherited from DiagramItem.) |
||
Gets or sets the contents of the tooltip displayed when the mouse pointer rests over the diagram element. (Inherited from DiagramItem.) |
||
Gets or sets a value indicating whether this item is visible. (Inherited from DiagramItem.) |
||
Gets or sets a weight value used in layout and path-finding algorithms. (Inherited from DiagramItem.) |
||
Gets or sets the z-order position of the object. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
Gets the size of this item. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
Overloaded. |
||
Determines whether this link contains the specified point. |
||
Gets the bounding rectangle of this link. |
||
Gets the index of the links segment closest to the specified point. |
||
DiagramItem.GetRotatedBounds override. |
||
DiagramItem.HitTestHandle override. |
||
Checks whether the link contour intersects with the outline of the specified node. |
||
Returns the label whose layout rectangle contains the specified point. |
||
Attaches the link end points to the anchor points defined for the link's origin and destination nodes. |
||
Removes the specified label from this link. |
||
DiagramItem.RestoreLocationState override. |
||
Routes this link, regardless of whether the link's AutoRoute flag is enabled. |
||
DiagramItem.SaveLocationState override. |
||
Updates the link's internal state after the link's control points have been changed. |
Name | Description | |
---|---|---|
Overloaded. |
||
Invoked to validate the drag operation. |
||
DiagramItem.CreateState override. |
||
DiagramItem.EndDrag override. |
||
Loads the link content from an XML element. |
||
DiagramItem.OnLoad override. |
||
DiagramItem.RestoreState override. |
||
DiagramItem.SaveState override. |
||
Saves the link content into an XML element. |
||
Scales the link's elements by specified amount. |
||
DiagramItem.StartDrag override. |
||
DiagramItem.UpdateDrag override. |
||
Updates the control points of a dynamic link while one of the nodes it connects is being moved or resized. |
||
Positions the TextBlock control displaying the link's text. Override to implement custom positioning if desired. |
||
DiagramItem.UpdateVisuals override. |
Name | Description | |
---|---|---|
Creates a copy of this item. (Inherited from DiagramItem.) |
||
Determines whether this item contains the specified point. (Inherited from DiagramItem.) |
||
Gets the bounding rectangle of this item. (Inherited from DiagramItem.) |
||
Gets a polygon approximating the outline of this object. (Inherited from DiagramItem.) |
||
Gets the repaint region for this item, taking into account factors such as pen, selection handles and shadow. (Inherited from DiagramItem.) |
||
Gets the bounding rectangle of this item when it is rotated. (Inherited from DiagramItem.) |
||
Determines whether a selection handle of this item is located at the specified point. (Inherited from DiagramItem.) |
||
Gets whether the user is prevented from manipulating this item. (Inherited from DiagramItem.) |
||
Control.OnApplyTemplate override. (Inherited from DiagramItem.) |
||
Returns the items that can be reached from this item by following the path specified in the given query expression. (Inherited from DiagramItem.) |
||
Restores the state of this diagram item. (Inherited from DiagramItem.) |
||
Saves the state of this diagram item. (Inherited from DiagramItem.) |
||
Transforms a point in diagram coordinates to item coordinates. (Inherited from DiagramItem.) |
||
Gets the diagram coordinates of a point specified in the local coordinate system of this item. (Inherited from DiagramItem.) |
||
Moves the item to the bottom of the z-order. (Inherited from DiagramItem.) |
||
Moves the item one level down in the z-order. (Inherited from DiagramItem.) |
||
Moves the item one level up in the z-order. (Inherited from DiagramItem.) |
||
Moves the item to the top of the z-order. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
Overloaded. (Inherited from DiagramItem.) |
||
Invoked to validate the drag operation. (Inherited from DiagramItem.) |
||
Invoked when the interactive modification of this object has been canceled. (Inherited from DiagramItem.) |
||
Creates an item state corresponding to the type of this diagram item. (Inherited from DiagramItem.) |
||
Invoked when the user stops dragging this item. (Inherited from DiagramItem.) |
||
Loads the item content from an XML element. (Inherited from DiagramItem.) |
||
Called when the item is added to a Diagram, either by the user, programmatically or via undo / redo. (Inherited from DiagramItem.) |
||
Called when a group child node has been modified. (Inherited from DiagramItem.) |
||
Called after successful deserialization. (Inherited from DiagramItem.) |
||
Control.OnLostMouseCapture override. (Inherited from DiagramItem.) |
||
Called when the diagram's MeasureUnit changes. (Inherited from DiagramItem.) |
||
Control.OnMouseEnter override. (Inherited from DiagramItem.) |
||
Control.OnMouseLeave override. (Inherited from DiagramItem.) |
||
Control.OnMouseLeftButtonDown override. (Inherited from DiagramItem.) |
||
Control.OnMouseLeftButtonUp override. (Inherited from DiagramItem.) |
||
Called when an item is removed from a Diagram, either by the user, programmatically or via undo / redo. (Inherited from DiagramItem.) |
||
Invoked when the item's selection handles should be removed. (Inherited from DiagramItem.) |
||
Restores the state of this diagram item. (Inherited from DiagramItem.) |
||
Saves the state of this diagram item. (Inherited from DiagramItem.) |
||
Saves the item content into an XML element. (Inherited from DiagramItem.) |
||
Scales the item's elements by specified amount. (Inherited from DiagramItem.) |
||
Invoked when the user starts dragging this item. (Inherited from DiagramItem.) |
||
Invoked while the user drags this item. (Inherited from DiagramItem.) |
||
Sets the handle colors according to the current selection state of the item and the enabled bits in the EnabledHandles property. (Inherited from DiagramItem.) |
||
Invoked when the item's selection handles should change their position. (Inherited from DiagramItem.) |
||
Sets the current VisualStates of this item. (Inherited from DiagramItem.) |
||
Invoked when an item should update its visual elements. (Inherited from DiagramItem.) |