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 | |
---|---|---|
Identifies the Brush dependency property. |
||
Identifies the EnableWrap dependency property. |
||
Identifies the FontFamily dependency property. (Inherited from TextPresenter.) |
||
Identifies the FontSize dependency property. (Inherited from TextPresenter.) |
||
Identifies the FontStretch dependency property. (Inherited from TextPresenter.) |
||
Identifies the FontStyle dependency property. (Inherited from TextPresenter.) |
||
Identifies the FontWeight dependency property. (Inherited from TextPresenter.) |
||
Identifies the HorizontalOffset dependency property. |
||
Identifies the Index dependency property. |
||
Identifies the Margin dependency property. |
||
Identifies the MaxWidth dependency property. |
||
Identifies the RelativeTo dependency property. |
||
Identifies the TextAlignment dependency property. (Inherited from TextPresenter.) |
||
Identifies the TextBrush dependency property. (Inherited from TextPresenter.) |
||
Identifies the TextDecorations dependency property. (Inherited from TextPresenter.) |
||
Identifies the TextPadding dependency property. (Inherited from TextPresenter.) |
||
Identifies the Text dependency property. (Inherited from TextPresenter.) |
||
Identifies the TextTrimming dependency property. (Inherited from TextPresenter.) |
||
Identifies the TextVerticalAlignment dependency property. (Inherited from TextPresenter.) |
||
Identifies the TextWrapping dependency property. (Inherited from TextPresenter.) |
||
Identifies the VerticalOffset dependency property. |
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 whether text layout area has limited height. (Inherited from TextPresenter.) |
||
Gets or sets a value indicating whether the label's text can be wrapped. |
||
Gets or sets the preferred font family for this TextPresenter. (Inherited from TextPresenter.) |
||
Gets or sets the font size for this TextPresenter. (Inherited from TextPresenter.) |
||
Gets or sets the font-stretching characteristics for this TextPresenter. (Inherited from TextPresenter.) |
||
Gets or sets the font style for this TextPresenter. (Inherited from TextPresenter.) |
||
Gets or sets the font weight for this TextPresenter. (Inherited from TextPresenter.) |
||
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. |
||
Gets or sets the maximum width of the label. |
||
Gets or sets the label's relative positioning. |
||
Gets or sets the text displayed inside this item. (Inherited from TextPresenter.) |
||
Gets or sets a value that indicates the horizontal alignment of text content. (Inherited from TextPresenter.) |
||
Gets or sets the text displayed inside this item. (Inherited from TextPresenter.) |
||
Gets or sets the effects to apply to the text of this TextPresenter. (Inherited from TextPresenter.) |
||
Gets or sets the thickness of padding space between the item boundaries and its text. (Inherited from TextPresenter.) |
||
Gets or sets the text trimming to employ when text overflows the item area. (Inherited from TextPresenter.) |
||
Gets or sets a value that indicates the vertical alignment of text content. (Inherited from TextPresenter.) |
||
Gets or sets how this TextPresenter should wrap text. (Inherited from TextPresenter.) |
||
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. |
||
Copies all text attributes from the specified object. (Inherited from TextPresenter.) |
||
Draws the link label on the specified DrawingContext surface. |
||
InplaceEditable.GetDiagramItem implementation. |
||
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. |
||
Overloaded. (Inherited from TextPresenter.) |
||
Invoked when any of the attributes defined in ITextAttributes changes. (Inherited from TextPresenter.) |
||
Returns a point lying on a polyline that is positioned at a relative position along the polyline's length. |
||
Overloaded. (Inherited from TextPresenter.) |
||
Saves the label as a JSON object. |
||
Invoked when a value is assigned to a property and the diagram's Dirty flag must be set. (Inherited from TextPresenter.) |