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

DiagramControl.ActiveTool Property

Specifies the currently selected diagram tool. This is a dependency property.

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v19.2.dll

Declaration

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

Property Value

Type Description
DiagramTool

A DiagramTool object.

Remarks

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

diagramControl.ActiveTool = new ConnectorTool();
See Also