You are viewing help content for pre-release software. This document and the features it describes are subject to change. Switch to the current version.

DiagramControl.Commands Property

Provides access to the set of available diagram commands.

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v20.2.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