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

DiagramControl.Commands Property

Provides access to the set of available diagram commands.

Namespace: DevExpress.Xpf.Diagram

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

Declaration

public DiagramCommands Commands { get; }

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