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

Activated when Path drawing action is going to be executed.

Definition

Constructors

Initializes a new instance of the PathTool class.

C#
public PathTool()

Fields

The name of the path tool.

C#
public const string ToolName = "PathTool"

Methods

Handles the mouse-down event.

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

The PointerArgs instance containing the event data.

Returns:

bool

Overrides: DrawingToolBase.MouseDown(PointerArgs)

Handles the mouse-move event.

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

The PointerArgs instance containing the event data.

Returns:

bool

Overrides: PrimaryMouseToolBase.MouseMove(PointerArgs)

Handles the mouse-up event.

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

The PointerArgs instance containing the event data.

Returns:

bool

Overrides: PrimaryMouseToolBase.MouseUp(PointerArgs)

Called when tool is activated.

C#
protected override void OnActivated()

Overrides: ToolBase.OnActivated()

Called when tool is deactivated.

C#
protected override void OnDeactivated()

Overrides: DrawingToolBase.OnDeactivated()

Undoes what this tool has performed.

C#
public override void UndoToolAction()

Overrides: DrawingToolBase.UndoToolAction()