DiagramControl.ActiveTool Property

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

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v21.1.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