Search
ItemLabel Methods
 


 Public Methods

  Name Description

Cancel

Called when drag operation is canceled.

CopyFrom

Copies all text attributes from the specified object. (Inherited from TextPresenter.)

Draw

Draws the label on the specified DrawingContext surface.

GetDiagramItem

InplaceEditable.GetDiagramItem implementation.

GetEditRect

InplaceEditable.GetEditRect implementation.

GetTextToEdit

InplaceEditable.GetTextToEdit implementation.

LoadFromXml

Loads the label from the specified XML element.

OnMouseDown

Called when the left mouse button is pressed while the pointer is over this label.

OnMouseMove

Called when the mouse is moved while this label tracks the mouse events.

OnMouseUp

Called when the left mouse button is released while this label tracks the mouse events.

SaveToXml

Saves the label into the specified XML element.

SetEditedText

InplaceEditable.SetEditedText implementation.

SetMouseCursor

Indicates what cursor to display for interactive labels.

UpdateValue

Called while drag operation is in progress.

 Protected Methods

  Name Description

LoadFromJson

Loads the label from a JsonObject.

LoadTextAttributes

Overloaded.   (Inherited from TextPresenter.)

OnTextAttributeChanged

Invoked when any of the attributes defined in ITextAttributes changes. (Inherited from TextPresenter.)

SaveTextAttributes

Overloaded.   (Inherited from TextPresenter.)

SaveToJson

Saves the label into a JsonObject.

SetDiagramDirty

Invoked when a value is assigned to a property and the diagram's Dirty flag must be set. (Inherited from TextPresenter.)

 See Also