Click or drag to resize
PrimaryMouseTool Class
An abstract base tool for mouse tools.
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 PrimaryMouseTool : PrimaryMouseToolBase

The PrimaryMouseTool type exposes the following members.

Constructors
  NameDescription
Protected methodPrimaryMouseTool
Initializes a new instance of the PrimaryMouseTool class.
Top
Methods
  NameDescription
Protected methodActivateSecondaryTools
Activates a secondary tools.
Public methodActivateTool
Activates the tool.
(Inherited from ToolBase.)
Public methodDeactivateTool
Deactivates the tool.
(Inherited from ToolBase.)
Public methodInitialize
Initializes this tool.
(Inherited from PrimaryMouseToolBase.)
Public methodKeyDown
Handles the key down event.
(Inherited from PrimaryMouseToolBase.)
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.
(Inherited from PrimaryMouseToolBase.)
Public methodMouseMove
Handles the mouse-move event.
(Overrides PrimaryMouseToolBaseMouseMove(PointerArgs).)
Public methodMouseUp
Handles the mouse-up event.
(Overrides PrimaryMouseToolBaseMouseUp(PointerArgs).)
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
Properties
  NameDescription
Protected propertyActiveConnector
Gets or sets the active connector.
(Inherited from PrimaryMouseToolBase.)
Protected propertyCursor
Gets or sets the cursor.
(Inherited from ToolBase.)
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.)
Top
See Also