Class ManipulationTool
Tool handling the resizing and rotation of items.
Inherited Members
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core.dll
Syntax
public class ManipulationTool : ToolBase, ITool, IMouseListener
Constructors
ManipulationTool(String)
Initializes a new instance of the ManipulationTool class.
Declaration
public ManipulationTool(string toolName)
Parameters
System.String
toolName
|
Fields
ToolNameNESW
Declaration
public const string ToolNameNESW = "Resizing ToolNESW"
Field Value
System.String
|
ToolNameNWSE
Declaration
public const string ToolNameNWSE = "Resizing ToolNWSE"
Field Value
System.String
|
ToolNameRotation
Declaration
public const string ToolNameRotation = "Rotation Tool"
Field Value
System.String
|
ToolNameSENW
Declaration
public const string ToolNameSENW = "Resizing ToolSENW"
Field Value
System.String
|
ToolNameSWNE
Declaration
public const string ToolNameSWNE = "Resizing ToolSWNE"
Field Value
System.String
|
Methods
Initialize(IGraphServiceLocator)
Initializes the specified service locator.
Declaration
public override void Initialize(IGraphServiceLocator serviceLocator)
Parameters
IGraphServiceLocator
serviceLocator
The service locator. |
Overrides
MouseDoubleClick(PointerArgs)
Handles the mouse double click event.
Declaration
public virtual bool MouseDoubleClick(PointerArgs e)
Parameters
PointerArgs
e
The PointerArgs instance containing the event data. |
Returns
System.Boolean
|
Implements
MouseDown(PointerArgs)
Handles the mouse-down event.
Declaration
public bool MouseDown(PointerArgs e)
Parameters
PointerArgs
e
The PointerArgs instance containing the event data. |
Returns
System.Boolean
|
Implements
MouseMove(PointerArgs)
Handles the mouse-move event.
Declaration
public virtual bool MouseMove(PointerArgs e)
Parameters
PointerArgs
e
The PointerArgs instance containing the event data. |
Returns
System.Boolean
|
Implements
MouseUp(PointerArgs)
Handles the mouse-up event.
Declaration
public virtual bool MouseUp(PointerArgs e)
Parameters
PointerArgs
e
The PointerArgs instance containing the event data. |
Returns
System.Boolean
|