MindFusion.Wpf Pack Programmer's Guide
DiagramLink Properties
 


 Public Properties

  Name Description

Adorner

A Visual that contains the item's adjustment handles. (Inherited from DiagramItem.)

AllowMoveEnd

Gets or sets a value indicating whether the user is allowed to move the end point of a link.

AllowMoveStart

Gets or sets a value indicating whether the user is allowed to move the first control point of a link.

AutoRoute

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.

AutoSnapToNode

Specifies whether a link end point should automatically snap to the nearest diagram node while the user moves the point's adjustment handle.

BaseBrush

Gets or sets the Brush used to fill BaseShape.

BaseShape

Gets or sets what shape to display at the beginning of a link.

BaseShapeSize

Gets or sets the size of the BaseShape shape.

Bounds

Gets the size of the rectangle that bounds this link.

Brush

Gets or sets the brush used to fill the interior of this item. (Inherited from DiagramItem.)

CascadeOrientation

Gets or sets the orientation of the first segment of a cascading link.

ConstrainedHeight

Gets whether text layout area has limited height.

ControlPoints

Gets a collection of the control points of this link.

CustomDraw

Gets or sets the type of custom drawing performed on this link.

Destination

Gets or sets the destination node of this link.

DestinationAnchor

Gets or sets the index of the destination anchor point within the AnchorPattern that contains it.

DestinationConnection

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.

DestinationIndex

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

DrawCrossings

Gets or sets a value indicating whether the points where this link crosses other links should be drawn as arcs or dashes.

Dynamic

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.

EndPoint

Gets or sets the position of the last control point of this link.

FontFamily

Gets or sets the preferred font family for this DiagramItem. (Inherited from DiagramItem.)

FontSize

Gets or sets the font size for this DiagramItem. (Inherited from DiagramItem.)

FontStretch

Gets or sets the font-stretching characteristics for this DiagramItem. (Inherited from DiagramItem.)

FontStyle

Gets or sets the font style for this DiagramItem. (Inherited from DiagramItem.)

FontWeight

Gets or sets the font weight for this DiagramItem. (Inherited from DiagramItem.)

HandlesStyle

Gets or sets the appearance of the link's selection handles.

HeadBrush

Gets or sets the Brush used to fill HeadShape.

HeadPen

Gets or sets the pen to use when painting arrowheads lines.

HeadShape

Gets or sets the shape of this link's arrowhead.

HeadShapeSize

Gets or sets the size of the arrowhead shape.

HeadStroke

Gets or sets the Brush that specifies how the arrowhead stroke outline is painted.

HeadStrokeDashStyle

Gets or sets the pattern of dashes and gaps used to outline arrowhead shapes.

HeadStrokeThickness

Gets or sets the width of the arrowhead stroke outline.

HyperLink

Gets or sets the hyperlink associated with this diagram item. (Inherited from DiagramItem.)

Id

Gets or sets user-defined identifier associated with this item. (Inherited from DiagramItem.)

IgnoreLayout

Gets or sets a value indicating whether the position of this item should not be changed by automatic layout methods. (Inherited from DiagramItem.)

IntermediateBrush

Gets or sets the Brush used to fill IntermediateShape.

IntermediateShape

Gets or sets the shape displayed at the middle of each segment of the link.

IntermediateShapeSize

Gets or sets the size of the IntermediateShape shape.

IsConnected

Gets a value indicating whether the link is connected to nodes at both its ends.

Labels

Returns the list of all labels displayed by this link.

LayerIndex

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.)

LayoutTraits

Contains properties specific to each layout algorithm. (Inherited from DiagramItem.)

Length

Gets the length of the link.

Locked

Gets or sets a value indicating whether users are allowed to edit the diagram item. (Inherited from DiagramItem.)

Origin

Gets or sets the origin node of the link.

OriginAnchor

Gets or sets the index of the origin anchor point within the AnchorPattern that contains it.

OriginConnection

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.

OriginIndex

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

Parent

Gets the diagram that contains this item. (Inherited from DiagramItem.)

Printable

Gets or sets a value indicating whether to print the item. (Inherited from DiagramItem.)

RetainForm

Gets or sets a value indicating whether a link should maintain its form if the nodes connected with that link are moved around.

RuntimeIndex

For internal use. (Inherited from DiagramItem.)

SegmentCount

Gets or sets the number of segments of this link.

Selected

Gets or sets a value indicating whether a diagram item is selected. (Inherited from DiagramItem.)

Shape

Gets or sets the type of link segments and how they are positioned relatively to each other.

StartPoint

Gets or sets the position of the first control point of this link.

Stroke

Gets or sets the Brush that specifies how the item outline is painted. (Inherited from DiagramItem.)

StrokeDashCap

Gets or sets a PenLineCap enumeration value that specifies how the ends of a dash are drawn. (Inherited from DiagramItem.)

StrokeDashStyle

Gets or sets the pattern of dashes and gaps used to outline items. (Inherited from DiagramItem.)

StrokeEndLineCap

Gets or sets a PenLineCap enumeration value that specifies what shape to draw at the end of a Stroke. (Inherited from DiagramItem.)

StrokeLineJoin

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.)

StrokeMiterLimit

Gets or sets a limit on the ratio of the miter length to half the StrokeThickness of an item outline element. (Inherited from DiagramItem.)

StrokeStartLineCap

Gets or sets a PenLineCap enumeration value that specifies what shape to draw at the start of a Stroke. (Inherited from DiagramItem.)

StrokeThickness

Gets or sets the width of the DiagramItem stroke outline. (Inherited from DiagramItem.)

SubordinateGroup

Gets a reference to the group of items that are attached to this one. (Inherited from DiagramItem.)

Text

Gets or sets the text displayed inside this item. (Inherited from DiagramItem.)

TextAlignment

Gets or sets a value that indicates the horizontal alignment of text content. (Inherited from DiagramItem.)

TextBrush

Gets or sets the brush used to draw the item's text. (Inherited from DiagramItem.)

TextDecorations

Gets or sets the effects to apply to the text of this DiagramItem. (Inherited from DiagramItem.)

TextPadding

Gets or sets the thickness of padding space between the item boundaries and its text. (Inherited from DiagramItem.)

TextStyle

Gets or sets the link's text placement and orientation.

TextTrimming

Gets or sets the text trimming to employ when text overflows the item area. (Inherited from DiagramItem.)

TextVerticalAlignment

Gets or sets a value that indicates the vertical alignment of text content. (Inherited from DiagramItem.)

TextWrapping

Gets or sets how this DiagramItem should wrap text. (Inherited from DiagramItem.)

TopLevel

DiagramItem.TopLevel override.

UIElement

Gets the UIElement associated with this DiagramItem. (Inherited from DiagramItem.)

Visible

DiagramItem.Visible override.

Weight

Gets or sets a weight value used in layout and path-finding algorithms. (Inherited from DiagramItem.)

ZIndex

Gets or sets the z-order position of this item. (Inherited from DiagramItem.)

 Protected Properties

  Name Description

LogicalChildren

FrameworkElement.LogicalChildren override.

MeasureUnit

Returns the diagram measure unit. (Inherited from DiagramItem.)

Size

Gets the size of this item. (Inherited from DiagramItem.)

 See Also

DiagramLink Class
MindFusion.Diagramming.Wpf Namespace