DiagramOptionsBehavior.ActiveTool Property

Specifies the currently selected diagram tool.

Namespace: DevExpress.XtraDiagram.Options

Assembly: DevExpress.XtraDiagram.v20.1.dll

Declaration

[Browsable(false)]
public virtual DiagramTool ActiveTool { get; set; }
<Browsable(False)>
Public Overridable Property ActiveTool As DiagramTool

Property Value

Type Description
DiagramTool

A DiagramTool object.

Property Paths

You can access this nested property as listed below:

Object Type Path to ActiveTool
DiagramControl
.OptionsBehavior.ActiveTool

Remarks

By default, the DiagramControl uses the pointer tool. Use the ActiveTool property to select the desired tool.


diagramControl1.OptionsBehavior.ActiveTool = new ConnectorTool();
See Also