PrimaryMouseToolBase
An abstract base tool for mouse tools.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.WinControls.RadDiagram.dll
Syntax:
public abstract class PrimaryMouseToolBase : ToolBase, ITool, IMouseListener, IKeyboardListener
Inheritance: objectToolBasePrimaryMouseToolBase
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the PrimaryMouseToolBase class.
Properties
Gets or sets the active connector.
protected IConnector ActiveConnector { get; set; }
Gets the hit item.
protected IDiagramItem HitItem { get; set; }
protected IHitTestService HitTestService { get; }
protected ISelectionService<IDiagramItem> SelectionService { get; }
protected IGraphServiceLocator ServiceLocator { get; set; }
Methods
Initializes this tool.
public override void Initialize(IGraphServiceLocator serviceLocator)
The locator or controller.
Overrides:
Handles the mouse double click event.
public virtual bool MouseDoubleClick(PointerArgs e)
The PointerArgs instance containing the event data.
Returns:Implements:
Handles the mouse-down event.
public virtual bool MouseDown(PointerArgs e)
The PointerArgs instance containing the event data.
Returns:Implements:
Handles the mouse-move event.
public virtual bool MouseMove(PointerArgs e)
The PointerArgs instance containing the event data.
Returns:Implements:
Handles the mouse-up event.
public virtual bool MouseUp(PointerArgs e)
The PointerArgs instance containing the event data.
Returns:Implements: