Click or drag to resize
RectangleSelectionTool Class
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.
Inheritance Hierarchy
SystemObject
  Telerik.Windows.Diagrams.CoreToolBase
    Telerik.Windows.Diagrams.CoreRectangleSelectionTool

Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core (in Telerik.Windows.Diagrams.Core.dll) Version: 2017.2.614.40 (2017.2.614.40)
Syntax
public class RectangleSelectionTool : ToolBase, 
	IMouseListener

The RectangleSelectionTool type exposes the following members.

Constructors
  NameDescription
Public methodRectangleSelectionTool
Initializes a new instance of the RectangleSelectionTool class.
Top
Methods
  NameDescription
Public methodActivateTool
Activates the tool.
(Inherited from ToolBase.)
Public methodDeactivateTool
Deactivates the tool.
(Inherited from ToolBase.)
Public methodInitialize
Initializes the specified service locator.
(Overrides ToolBaseInitialize(IGraphServiceLocator).)
Public methodMouseDoubleClick
Handles the mouse double click event.
Public methodMouseDown
Handles the MouseDown event.
Public methodMouseMove
Handles the MouseMove event.
Public methodMouseUp
Handles the MouseUp event.
Protected methodOnActivated
Called when tool is IsActive is changed to true.
(Inherited from ToolBase.)
Protected methodOnDeactivated
Called when tool is IsActive is changed to false.
(Inherited from ToolBase.)
Protected methodRestoreCursor
Restores the cursor.
(Inherited from ToolBase.)
Top
Fields
  NameDescription
Public fieldStatic memberToolName
The name of the rectangle selection tool.
Top
Properties
  NameDescription
Protected propertyCursor
Gets or sets the cursor.
(Inherited from ToolBase.)
Public propertyGraph
Gets or sets the graph view (aka surface).
(Inherited from ToolBase.)
Protected propertyInitialPoint
Gets the initial point of the interaction.
(Inherited from ToolBase.)
Public propertyIsActive
Gets or sets a value indicating whether this tool is active.
(Inherited from ToolBase.)
Public propertyIsEnabled
Gets or sets the IsEnabled.
(Inherited from ToolBase.)
Public propertyName
Gets or sets the layer.
(Inherited from ToolBase.)
Public propertyToolService
Gets or sets the tool service (see ToolService).
(Inherited from ToolBase.)
Top
See Also