Skip to main content
A newer version of this page is available. .

DiagramOptionsBehavior.ActiveTool Property

Specifies the currently selected diagram tool.

Namespace: DevExpress.XtraDiagram.Options

Assembly: DevExpress.XtraDiagram.v18.2.dll

Declaration

[Browsable(false)]
public virtual DiagramTool ActiveTool { get; set; }

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