Class PanningTool
Activated when pan action is going to be executed.
Inherited Members
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.WinControls.RadDiagram.dll
Syntax
public class PanningTool : PrimaryMouseTool, ITool, IMouseListener, IKeyboardListener
Constructors
PanningTool()
Fields
ToolName
The name of the panning tool.
Declaration
public const string ToolName = "Panning 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()