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

contentPadding

Gets or sets the distance between image and text when both are specified. (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.)

image

Gets or sets the image displayed by this label. (Inherited from ItemLabel.)

imageAlign

Gets or sets the alignment of label's image relative to text. (Inherited from ItemLabel.)

imageContent

Gets or sets a Base64-encoded image to display inside this label. (Inherited from ItemLabel.)

imageLocation

Gets or sets URL of the image to display inside this label. (Inherited from ItemLabel.)

imageSize

Gets or sets a size that overrides the native image size. (Inherited from ItemLabel.)

locked

Gets or sets a value indicating whether users are allowed to edit this label. (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