Search
LinkLabel Members
Constructors Properties Methods
 


Represents a label displayed by a DiagramLink. New labels can be added to a link by calling its addLabel method.

The following tables list the members exposed by the LinkLabel type.

 Public Constructors

  Name Description

LinkLabel

Initializes a new instance of the LinkLabel class.

 Public Properties

  Name Description

autoArrange

Gets or sets whether to automatically arrange the label to avoid overlapping nodes.

brush

Gets or sets the brush used to draw the label's background.

enableStyledText

Gets or sets a value indicating whether styled text rendering is enabled. (Inherited from ItemLabel.)

enableWrap

Gets or sets a value indicating whether text wrapping is enabled. (Inherited from ItemLabel.)

font

Gets or sets the font used to render label's text.

horizontalAlign

Gets or sets the label's horizontal alignment.

horizontalOffset

Gets or sets label's horizontal offset from its pin point. (Inherited from ItemLabel.)

margin

Gets or sets the label's margin.

maxWidth

Gets or sets the maximum width of this label. (Inherited from ItemLabel.)

text

Gets or sets the label's text.

textColor

Gets or sets the text color.

verticalAlign

Gets or sets the label's vertical alignment.

verticalOffset

Gets or sets label's vertical offset from its pin point. (Inherited from ItemLabel.)

 Public Methods

  Name Description

setControlPointPosition

Positions this label relatively to the specified control point.

setLinkLengthPosition

Positions this label relatively to the link length.

setSegmentPosition

Positions this label relatively to the specified link segment.

 See Also