Back to Devexpress

DiagramControl.Commands Property

wpf-devexpress-dot-xpf-dot-diagram-dot-diagramcontrol-a416b5e4.md

latest1.3 KB
Original Source

DiagramControl.Commands Property

Provides access to the set of available diagram commands.

Namespace : DevExpress.Xpf.Diagram

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

NuGet Package : DevExpress.Wpf.Diagram

Declaration

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

Property Value

TypeDescription
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.

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

See Also

DiagramControl Class

DiagramControl Members

DevExpress.Xpf.Diagram Namespace