Represents a link between two diagram nodes.
The following tables list the members exposed by the DiagramLink type.
Name | Description | |
---|---|---|
Overloaded. Initializes a new instance of the DiagramLink class. |
Name | Description | |
---|---|---|
Identifies the BaseBrush dependency property. |
||
Identifies the BaseShape dependency property. |
||
Identifies the BaseShapeSize dependency property. |
||
Idendifies the Brush dependency property. (Inherited from DiagramItem.) |
||
Identifies the FontFamily dependency property. (Inherited from DiagramItem.) |
||
Identifies the FontSize dependency property. (Inherited from DiagramItem.) |
||
Identifies the FontStretch dependency property. (Inherited from DiagramItem.) |
||
Identifies the FontStyle dependency property. (Inherited from DiagramItem.) |
||
Identifies the FontWeight dependency property. (Inherited from DiagramItem.) |
||
Identifies the HeadBrush dependency property. |
||
Identifies the HeadShape dependency property. |
||
Identifies the HeadShapeSize dependency property. |
||
Identifies the HeadStrokeDashStyle dependency property. |
||
Identifies the HeadStroke dependency property. |
||
Identifies the HeadStrokeThickness dependency property. |
||
Identifies the Id dependency property. (Inherited from DiagramItem.) |
||
Identifies the IntermediateBrush dependency property. |
||
Identifies the IntermediateShape dependency property. |
||
Identifies the IntermediateShapeSize dependency property. |
||
Identifies the StrokeDashCap dependency property. (Inherited from DiagramItem.) |
||
Identifies the StrokeDashStyle 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 TextAlignment dependency property. (Inherited from DiagramItem.) |
||
Identifies the TextBrush dependency property. (Inherited from DiagramItem.) |
||
Identifies the TextDecorations dependency property. (Inherited from DiagramItem.) |
||
Identifies the TextPadding dependency property. (Inherited from DiagramItem.) |
||
Identifies the Text dependency property. (Inherited from DiagramItem.) |
||
Identifies the TextTrimming dependency property. (Inherited from DiagramItem.) |
||
Identifies the TextVerticalAlignment dependency property. (Inherited from DiagramItem.) |
||
Identifies the TextWrapping dependency property. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
For internal use. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
A Visual that contains the item's adjustment handles. (Inherited from DiagramItem.) |
||
Gets or sets a value indicating whether the user is allowed to move the end point of a link. |
||
Gets or sets a value indicating whether the user is allowed to move the first control point of a link. |
||
Gets or sets a value indicating whether a link must avoid nodes by going the shortest path from its origin to its destination without crossing any other nodes. |
||
Specifies whether a link end point should automatically snap to the nearest diagram node while the user moves the point's adjustment handle. |
||
Gets or sets the Brush used to fill BaseShape. |
||
Gets or sets what shape to display at the beginning of a link. |
||
Gets or sets the size of the BaseShape shape. |
||
Gets the size of the rectangle that bounds this link. |
||
Gets or sets the brush used to fill the interior of this item. (Inherited from DiagramItem.) |
||
Gets or sets the orientation of the first segment of a cascading link. |
||
Gets whether text layout area has limited height. |
||
Gets a collection of the control points of this link. |
||
Gets or sets the type of custom drawing performed on 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 ConnectionPoint object representing the link connection to its destination node. This allows connecting the link to a constituent part of a node, such as a TableNode row or a TreeViewItem. |
||
Gets or sets the index of link's destination anchor point or table row. |
||
Gets or sets a value indicating whether the points where this link crosses other links should be drawn as arcs or dashes. |
||
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 position of the last control point of this link. |
||
Gets or sets the preferred font family for this DiagramItem. (Inherited from DiagramItem.) |
||
Gets or sets the font size for this DiagramItem. (Inherited from DiagramItem.) |
||
Gets or sets the font-stretching characteristics for this DiagramItem. (Inherited from DiagramItem.) |
||
Gets or sets the font style for this DiagramItem. (Inherited from DiagramItem.) |
||
Gets or sets the font weight for this DiagramItem. (Inherited from DiagramItem.) |
||
Gets or sets the appearance of the link's selection handles. |
||
Gets or sets the Brush used to fill HeadShape. |
||
Gets or sets the pen to use when painting arrowheads lines. |
||
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. |
||
Gets or sets the pattern of dashes and gaps used to outline arrowhead shapes. |
||
Gets or sets the width of the arrowhead stroke outline. |
||
Gets or sets the hyperlink associated with this diagram item. (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 or sets the Brush used to fill 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 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 the length of the link. |
||
Gets or sets a value indicating whether users are allowed to edit the diagram item. (Inherited from DiagramItem.) |
||
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 ConnectionPoint object representing the link connection to its origin node. This allows connecting the link to a constituent part of a node, such as a TableNode row or a TreeViewItem. |
||
Gets or sets the index of link's origin anchor point or table row. |
||
Gets the diagram that contains this item. (Inherited from DiagramItem.) |
||
Gets or sets a value indicating whether to print the item. (Inherited from DiagramItem.) |
||
Gets or sets a value indicating whether a link should maintain its form if the nodes connected with that link are moved around. |
||
For internal use. (Inherited from DiagramItem.) |
||
Gets or sets the number of segments of this link. |
||
Gets or sets a value indicating whether a diagram item is selected. (Inherited from DiagramItem.) |
||
Gets or sets the type of link segments and how they are positioned relatively to each other. |
||
Gets or sets the position of the first control point of this link. |
||
Gets or sets the Brush that specifies how the item outline is painted. (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 the pattern of dashes and gaps used to outline items. (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. (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 a reference to the group of items that are attached to this one. (Inherited from DiagramItem.) |
||
Gets or sets the text displayed inside this item. (Inherited from DiagramItem.) |
||
Gets or sets a value that indicates the horizontal alignment of text content. (Inherited from DiagramItem.) |
||
Gets or sets the brush used to draw the item's text. (Inherited from DiagramItem.) |
||
Gets or sets the effects to apply to the text of this DiagramItem. (Inherited from DiagramItem.) |
||
Gets or sets the thickness of padding space between the item boundaries and its text. (Inherited from DiagramItem.) |
||
Gets or sets the link's text placement and orientation. |
||
Gets or sets the text trimming to employ when text overflows the item area. (Inherited from DiagramItem.) |
||
Gets or sets a value that indicates the vertical alignment of text content. (Inherited from DiagramItem.) |
||
Gets or sets how this DiagramItem should wrap text. (Inherited from DiagramItem.) |
||
DiagramItem.TopLevel override. |
||
Gets the UIElement associated with this DiagramItem. (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 this item. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
FrameworkElement.LogicalChildren override. |
||
Returns the diagram measure unit. (Inherited from DiagramItem.) |
||
Gets the size of this item. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
Overloaded. Adds a label to the link. |
||
Clears the local values of all styleable appearance properties. (Inherited from DiagramItem.) |
||
Creates a copy of this link. |
||
Overloaded. |
||
Overloaded. (Inherited from DiagramItem.) |
||
Draws the link in the specified DrawingContext. |
||
Draws an arrowhead shape. |
||
DiagramItem.DrawHandles override. |
||
Overloaded. |
||
Returns the index of the longest horizontal segment of this link. |
||
Returns a Geometry object representing the shape of this item. (Inherited from DiagramItem.) |
||
DiagramItem.GetRepaintRect override. |
||
DiagramItem.GetRotatedBounds override. |
||
Gets the item rotation angle. (Inherited from DiagramItem.) |
||
Gets the tooltip that should be displayed for this item at the specified point. (Inherited from DiagramItem.) |
||
Returns the diagram item that contains the specified point. (Inherited from DiagramItem.) |
||
DiagramItem.HitTestHandle override. |
||
Triggers the manipulator located at the specified point. (Inherited from DiagramItem.) |
||
Overloaded. |
||
Checks whether this link is connected to the specified node. |
||
Returns the label whose layout rectangle contains the specified point. |
||
Gets whether the user is prevented from manipulating this item. (Inherited from DiagramItem.) |
||
Gets a flag indicating whether this object is being currently modified interactively by the user. (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.) |
||
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. |
||
Overloaded. (Inherited from DiagramItem.) |
||
Routes this link, regardless of whether the link's AutoRoute flag is enabled. |
||
Transforms a point from document coordinates to item coordinates. (Inherited from DiagramItem.) |
||
Transforms point from item-relative coordinates to document coordinates. (Inherited from DiagramItem.) |
||
Invoked by running animations to update an item according to current animation progress. |
||
Overloaded. Updates the link's internal state after the link's control points have been changed. |
||
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 | |
---|---|---|
Adds this item to specified container element. (Inherited from DiagramItem.) |
||
DiagramItem.AllowCreate override. |
||
DiagramItem.AllowModify override. |
||
DiagramItem.CompleteCreate override. |
||
Overloaded. |
||
DiagramItem.CreateProperties override. |
||
DiagramItem.CreateRenderer override. |
||
DiagramItem.CreateState override. |
||
Draws the associated manipulators in the specified context. (Inherited from DiagramItem.) |
||
DiagramItem.EnumStyleableProperties override. |
||
Called when the item is completely disassociated from a Diagram, that is, when it is no longer referenced from an item collection or the undo/redo history. (Inherited from DiagramItem.) |
||
Gets the height of this item. (Inherited from DiagramItem.) |
||
Subtracts the TextPadding values from the specified rectangle. (Inherited from DiagramItem.) |
||
Gets the width of this item. (Inherited from DiagramItem.) |
||
Gets the x-coordinate of the current position of this item. (Inherited from DiagramItem.) |
||
Gets the y-coordinate of the current position of this item. (Inherited from DiagramItem.) |
||
Loads the link from a JSON object. |
||
DiagramItem.LoadFromXml override. |
||
FrameworkElement.MeasureOverride override. |
||
DiagramItem.OnAdd override. |
||
DiagramItem.OnStrokeAttributeChanged override. |
||
Called when a child node has been modified. (Inherited from DiagramItem.) |
||
Called when a child node is being modified. (Inherited from DiagramItem.) |
||
DiagramItem.OnLoad override. |
||
Called when the diagram's MeasureUnit changes. |
||
UIElement.OnMouseDown override. (Inherited from DiagramItem.) |
||
UIElement.OnMouseUp override. (Inherited from DiagramItem.) |
||
Called when the item's position changes. (Inherited from DiagramItem.) |
||
UIElement.OnPreviewMouseWheel override. (Inherited from DiagramItem.) |
||
UIElement.OnPreviewMouseUp override. (Inherited from DiagramItem.) |
||
Called when an item is removed from a Diagram, either by the user, programmatically or while performing undo / redo. (Inherited from DiagramItem.) |
||
UIElement.OnRender override. (Inherited from DiagramItem.) |
||
Invoked when a FrameworkElement property serializable by DiagramItem changes. (Inherited from DiagramItem.) |
||
Called when the size of the item changes. (Inherited from DiagramItem.) |
||
DiagramItem.OnStrokeAttributeChanged override. |
||
DiagramItem.OnTextAttributeChanged override. |
||
Called when the ZoomFactor changes. (Inherited from DiagramItem.) |
||
DiagramItem.RestoreProperties override. |
||
DiagramItem.RestoreState override. |
||
DiagramItem.SaveProperties override. |
||
DiagramItem.SaveState override. |
||
Saves the link as a JSON object. |
||
DiagramItem.SaveToXml override. |
||
Marks the diagram as changed. (Inherited from DiagramItem.) |
||
Sets whether the item is in expanded or collapsed state. (Inherited from DiagramItem.) |
||
Determines whether the item should be rendered in the current context. (Inherited from DiagramItem.) |
||
DiagramItem.StartCreate override. |
||
DiagramItem.StartModify override. |
||
DiagramItem.UpdateCreate override. |
||
Called to update the positions of subordinate nodes attached to this item when the attachment style is set to ControlledByMaster. (Inherited from DiagramItem.) |
||
DiagramItem.UpdateModify override. |