DiagramControl.Commands Property
In This Article
Provides access to the set of available diagram commands.
Namespace: DevExpress.Xpf.Diagram
Assembly: DevExpress.Xpf.Diagram.v24.2.dll
NuGet Package: DevExpress.Wpf.Diagram
#Declaration
public DiagramCommands Commands { get; }
#Property Value
Type | Description |
---|---|
Diagram |
A Diagram |
#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