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

An abstract base tool for mouse tools.

Definition

Constructors

Initializes a new instance of the PrimaryMouseTool class.

C#
protected PrimaryMouseTool(string name)
Parameters:namestring

The name.

Methods

Activates a secondary tools.

C#
protected virtual void ActivateSecondaryTools(PointerArgs e)
Parameters:ePointerArgs

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 IsActive is changed to true.

C#
protected override void OnActivated()

Overrides: ToolBase.OnActivated()