New to Telerik UI for WPFStart a free 30-day trial

Tool handling the translation of items.

Definition

Constructors

Initializes a new instance of the DraggingTool class.

C#
public DraggingTool()

Fields

The name of the dragging tool.

C#
public const string ToolName = "Dragging Tool"

Methods

Initializes the specified service locator.

C#
public override void Initialize(IGraphServiceLocator serviceLocator)
Parameters:serviceLocatorIGraphServiceLocator

The service locator.

Overrides: ToolBase.Initialize(IGraphServiceLocator)

Handles the mouse double click event.

C#
public virtual bool MouseDoubleClick(PointerArgs e)
Parameters:ePointerArgs

The PointerArgs instance containing the event data.

Returns:

bool

Implements: IMouseListener.MouseDoubleClick(PointerArgs)

Handles the mouse-down event.

C#
public virtual bool MouseDown(PointerArgs e)
Parameters:ePointerArgs

The PointerArgs instance containing the event data.

Returns:

bool

Implements: IMouseListener.MouseDown(PointerArgs)

Handles the mouse-move event.

C#
public virtual bool MouseMove(PointerArgs e)
Parameters:ePointerArgs

The PointerArgs instance containing the event data.

Returns:

bool

Implements: IMouseListener.MouseMove(PointerArgs)

Handles the mouse-up event.

C#
public virtual bool MouseUp(PointerArgs e)
Parameters:ePointerArgs

The PointerArgs instance containing the event data.

Returns:

bool

Implements: IMouseListener.MouseUp(PointerArgs)