DiagramControl.Commands Property
Provides access to the set of available diagram commands.
Namespace: DevExpress.Xpf.Diagram
Assembly: DevExpress.Xpf.Diagram.v24.1.dll
NuGet Package: DevExpress.Wpf.Diagram
Declaration
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