Represents a label displayed by a DiagramLink. New labels can be added to a link by calling the DiagramLink.AddLabel method.
The following tables list the members exposed by the LinkLabel type.
Name | Description | |
---|---|---|
Overloaded. Initializes a new instance of the LinkLabel class. |
Name | Description | |
---|---|---|
Gets or sets a value indicating whether the label can be auto arranged. |
||
Gets or sets the brush used to draw the label's background. |
||
Gets or sets a value indicating whether the label's text can be wrapped. |
||
Gets or sets the label's font. |
||
Gets or sets the label's horizontal alignment. |
||
Gets or sets the label's horizontal offset. |
||
Gets or sets the index of the segment or control point this label is relative to. |
||
Gets or sets the DiagramItem that displays this label. (Inherited from ItemLabel.) |
||
Gets or sets label's position along link's length when the RelativeTo property is set to LinkLength. |
||
Gets or sets the DiagramLink that displays this label. |
||
Gets or sets the label's margin size. |
||
Gets or sets the maximum width of the label. |
||
Gets or sets the label's relative positioning. |
||
Gets or sets the label's text. |
||
Gets or sets the brush used to draw the label's text. |
||
Gets or sets the label's vertical alignment. |
||
Gets or sets the label's vertical offset. |
Name | Description | |
---|---|---|
Called when drag operation is canceled. (Inherited from ItemLabel.) |
||
Creates a clone of this label. |
||
Draws the link label on the specified IGraphics surface. |
||
InplaceEditable.GetEditRect implementation. |
||
InplaceEditable.GetTextToEdit implementation. |
||
Loads the label from the specified XML element. |
||
Called when the left mouse button is pressed while the pointer is over this label. (Inherited from ItemLabel.) |
||
Called when the mouse is moved while this label tracks the mouse events. (Inherited from ItemLabel.) |
||
Called when the left mouse button is released while this label tracks the mouse events. (Inherited from ItemLabel.) |
||
Saves the label into the specified XML element. |
||
Positions this label relatively to the specified control point. |
||
InplaceEditable.SetEditedText implementation. |
||
Positions this label relatively to the link length. |
||
Indicates what cursor to display for interactive labels. (Inherited from ItemLabel.) |
||
Positions this label relatively to the specified link segment. |
||
Called while drag operation is in progress. (Inherited from ItemLabel.) |
Name | Description | |
---|---|---|
Loads the label from a JSON object. |
||
Returns a point lying on a polyline that is positioned at a relative position along the polyline's length. |
||
Saves the label as a JSON object. |