InterfaceIToolService
Interface
Describes the members of the tool service. This service collects tools like the selection tool or the drawing tool.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.Windows.Diagrams.Core.dll
Syntax:
cs-api-definition
public interface IToolService : IMouseListener, IKeyboardListener
Inherited Members
Properties
ActiveTool
Gets the active tool.
Graph
Gets the graph internal.
IsAltDown
Gets or sets whether the alt-key is pressed.
IsControlDown
Gets or sets a value indicating whether the control key is pressed.
IsMouseDown
Gets or sets a value indicating whether the mouse left button is pressed.
PrimaryTool
Gets or sets the primary tool.
Declaration
cs-api-definition
string PrimaryTool { get; set; }
Property Value
The primary tool.
Methods
ActivatePrimaryTool()
Activates the primary tool.
Declaration
cs-api-definition
void ActivatePrimaryTool()
ActivateTool(string)
Activates the tool.
DeactivateTool(ITool)
Deactivates the tool.
FindTool(string)
Finds a tool with the specified name.