Skip to main content

DiagramControl.ActiveTool Property

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

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v22.1.dll

NuGet Package: DevExpress.Wpf.Diagram


public DiagramTool ActiveTool { get; set; }

Property Value

Type Description

A DiagramTool object.


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

diagramControl.ActiveTool = new ConnectorTool();
See Also