DiagramControl.Commands Property

Provides access to the set of available diagram commands.

Namespace: DevExpress.Xpf.Diagram

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

Declaration

public DiagramCommands Commands { get; }
Public ReadOnly Property Commands As DiagramCommands

Property Value

Type Description
DiagramCommands

A DiagramCommands object that provides a set of diagram commands.

Remarks

Use the Commands property to programmatically execute a diagram command. See the example below.

diagramControl.Commands.ExportDiagram.Execute(DevExpress.Diagram.Core.DiagramExportFormat.PNG);
See Also