ClassRectangleSelectionTool
This base implementation of a tool serves for shape creation on the basis of a drawn rubber band on the canvas. Not every shape is created in this way, certain shape have a fixed size or are polygonal.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.Windows.Diagrams.Core.dll
Syntax:
public class RectangleSelectionTool : ToolBase, ITool, IMouseListener
Inheritance: objectToolBaseRectangleSelectionTool
Implements:
Inherited Members
Constructors
RectangleSelectionTool()
Initializes a new instance of the RectangleSelectionTool class.
Declaration
public RectangleSelectionTool()
Fields
Methods
Initialize(IGraphServiceLocator)
Initializes the specified service locator.
Declaration
public override void Initialize(IGraphServiceLocator serviceLocator)
Parameters
serviceLocator
The service locator.
Overrides
MouseDoubleClick(PointerArgs)
Handles the mouse double click event.
Declaration
public virtual bool MouseDoubleClick(PointerArgs e)
Parameters
e
The PointerArgs instance containing the event data.
Returns
Implements
MouseDown(PointerArgs)
Handles the MouseDown event.
Declaration
public virtual bool MouseDown(PointerArgs e)
Parameters
e
The PointerArgs instance containing the event data.
Returns
Implements
MouseMove(PointerArgs)
Handles the MouseMove event.
Declaration
public virtual bool MouseMove(PointerArgs e)
Parameters
e
The PointerArgs instance containing the event data.
Returns
Implements
MouseUp(PointerArgs)
Handles the MouseUp event.
Declaration
public virtual bool MouseUp(PointerArgs e)
Parameters
e
The PointerArgs instance containing the event data.
Returns
Implements