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.WinControls.RadDiagram.dll
Syntax:
public class RectangleSelectionTool : ToolBase, ITool, IMouseListener
Inheritance: objectToolBaseRectangleSelectionTool
Implements:
Inherited Members
Constructors
Initializes a new instance of the RectangleSelectionTool class.
public RectangleSelectionTool()
Fields
Methods
Initializes the specified service locator.
public override void Initialize(IGraphServiceLocator serviceLocator)
The service locator.
Overrides:
Handles the mouse double click event.
public virtual bool MouseDoubleClick(PointerArgs e)
The PointerArgs instance containing the event data.
Returns:Implements:
Handles the MouseDown event.
public virtual bool MouseDown(PointerArgs e)
The PointerArgs instance containing the event data.
Returns:Implements:
Handles the MouseMove event.
public virtual bool MouseMove(PointerArgs e)
The PointerArgs instance containing the event data.
Returns:Implements:
Handles the MouseUp event.
public virtual bool MouseUp(PointerArgs e)
The PointerArgs instance containing the event data.
Returns:Implements: