Search
NodeLabel Members
Constructors Properties Methods
 


Represents a supplementary label displayed by a DiagramNode. New labels can be added to a node by calling its addLabel method.

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

 Public Constructors

  Name Description

NodeLabel

Initializes a new instance of the NodeLabel class.

 Public Properties

  Name Description

brush

Gets or sets the brush used to draw the label's background. (Inherited from ItemLabel.)

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. (Inherited from ItemLabel.)

horizontalAlign

Gets or sets the label's horizontal alignment. (Inherited from ItemLabel.)

horizontalOffset

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

margin

Gets or sets the label's margin. (Inherited from ItemLabel.)

maxWidth

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

text

Gets or sets the label's text. (Inherited from ItemLabel.)

textColor

Gets or sets the text color. (Inherited from ItemLabel.)

verticalAlign

Gets or sets the label's vertical alignment. (Inherited from ItemLabel.)

verticalOffset

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

 Public Methods

  Name Description

setCenterPosition

Positions this label relatively to the node center.

setCornerPosition

Positions this label relatively to the specified corner point.

setEdgePosition

Positions this label relatively to the specified node edge.

 See Also