MindFusion.Wpf Pack Programmer's Guide
NodeLabel Methods
 


 Public Methods

  Name Description

Cancel

Called when drag operation is canceled. (Inherited from ItemLabel.)

Clone

Creates a clone of this label.

CopyFrom

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

Draw

Draws the label on the specified DrawingContext surface. (Inherited from ItemLabel.)

GetDiagramItem

InplaceEditable.GetDiagramItem implementation. (Inherited from ItemLabel.)

GetEditRect

InplaceEditable.GetEditRect implementation. (Inherited from ItemLabel.)

GetTextToEdit

InplaceEditable.GetTextToEdit implementation. (Inherited from ItemLabel.)

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

OnMouseMove

Called when the mouse is moved while this label tracks the mouse events. (Inherited from ItemLabel.)

OnMouseUp

Called when the left mouse button is released while this label tracks the mouse events. (Inherited from ItemLabel.)

SaveToXml

Saves the label into the specified XML element.

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.

SetEditedText

InplaceEditable.SetEditedText implementation. (Inherited from ItemLabel.)

SetMouseCursor

Indicates what cursor to display for interactive labels. (Inherited from ItemLabel.)

UpdateValue

Called while drag operation is in progress. (Inherited from ItemLabel.)

 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

NodeLabel Class
MindFusion.Diagramming.Wpf Namespace