Click or drag to resize
DrawingToolBase Class
Abstract base class for tools which draw something on the canvas.
Inheritance Hierarchy

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 abstract class DrawingToolBase : PrimaryMouseToolBase

The DrawingToolBase type exposes the following members.

Constructors
  NameDescription
Protected methodDrawingToolBase
Initializes a new instance of the DrawingToolBase class.
Top
Methods
  NameDescription
Public methodActivateTool
Activates the tool.
(Inherited from ToolBase.)
Public methodCompleteTool
Completes the action of this tool.
Protected methodCreateShape
Creates a shape.
Public methodDeactivateTool
Deactivates the tool.
(Inherited from ToolBase.)
Public methodInitialize
Initializes this tool.
(Inherited from PrimaryMouseToolBase.)
Public methodKeyDown
Handles the key down event.
(Overrides PrimaryMouseToolBaseKeyDown(KeyArgs).)
Public methodKeyUp
Handles the key up event.
(Inherited from PrimaryMouseToolBase.)
Public methodMouseDoubleClick
Handles the mouse double click event.
(Inherited from PrimaryMouseToolBase.)
Public methodMouseDown
Handles the mouse-down event.
(Overrides PrimaryMouseToolBaseMouseDown(PointerArgs).)
Public methodMouseMove
Handles the mouse-move event.
(Inherited from PrimaryMouseToolBase.)
Public methodMouseUp
Handles the mouse-up event.
(Inherited from PrimaryMouseToolBase.)
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.
(Overrides ToolBaseOnDeactivated.)
Protected methodRestoreCursor
Restores the cursor.
(Inherited from ToolBase.)
Public methodUndoToolAction
Undoes what this tool has performed.
Top
Properties
  NameDescription
Protected propertyActiveConnector
Gets or sets the active connector.
(Inherited from PrimaryMouseToolBase.)
Protected propertyAddShapeCommand
Gets or sets the ICommand for adding a shape to the diagram.
Public propertyControllerService
Gets the IControllerService service.
Protected propertyCursor
Gets or sets the cursor.
(Inherited from ToolBase.)
Public propertyDrawingService
Gets the IDrawingService service.
Public propertyGraph
Gets or sets the graph view (aka surface).
(Inherited from ToolBase.)
Protected propertyHitItem
Gets the hit item.
(Inherited from PrimaryMouseToolBase.)
Protected propertyHitTestService
(Inherited from PrimaryMouseToolBase.)
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.)
Protected propertySelectionService
(Inherited from PrimaryMouseToolBase.)
Protected propertyServiceLocator
(Inherited from PrimaryMouseToolBase.)
Public propertyToolService
Gets or sets the tool service (see ToolService).
(Inherited from ToolBase.)
Public propertyUndoRedoService
Gets the IUndoRedoService service.
Top
See Also