Class TextTool
A tool which allows you to position and add text to your diagram.
Inherited Members
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.WinControls.RadDiagram.dll
Syntax
public class TextTool : PrimaryMouseToolBase, ITool, IMouseListener, IKeyboardListener
Constructors
TextTool()
Fields
ToolName
The name of the Text tool.
Declaration
public const string ToolName = "Text Tool"
Field Value
System.String
|
Methods
KeyDown(KeyArgs)
Handles the key down event.
Declaration
public override bool KeyDown(KeyArgs key)
Parameters
KeyArgs
key
|
Returns
System.Boolean
|
Overrides
MouseDown(PointerArgs)
Handles the mouse-down event.
Declaration
public override bool MouseDown(PointerArgs e)
Parameters
PointerArgs
e
The PointerArgs instance containing the event data. |
Returns
System.Boolean
|
Overrides
MouseMove(PointerArgs)
Handles the mouse-move event.
Declaration
public override bool MouseMove(PointerArgs e)
Parameters
PointerArgs
e
The PointerArgs instance containing the event data. |
Returns
System.Boolean
|
Overrides
MouseUp(PointerArgs)
Handles the mouse-up event.
Declaration
public override bool MouseUp(PointerArgs e)
Parameters
PointerArgs
e
The PointerArgs instance containing the event data. |
Returns
System.Boolean
|
Overrides
OnDeactivated()
Called when tool is IsActive is changed to false.
Declaration
protected override void OnDeactivated()