ChartCommandsBase.ExportToBmpCommand Property
Specifies the command that invokes the Save As dialog to export the chart to a BMP file.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v24.2.dll
NuGet Package: DevExpress.Wpf.Charts
Declaration
Property Value
Type | Description |
---|---|
ICommand | An object that defines a command that implements the ICommand interface. |
Remarks
The code below invokes the Save As dialog when a user clicks the Export to BMP button:
<dxc:ChartControl x:Name="chart">
<!--...-->
</dxc:ChartControl>
<dx:SimpleButton VerticalAlignment="Bottom" Width="100" Height="20" Content="Export to BMP"
Command="{Binding Commands.ExportToBmpCommand, ElementName=chart}">
</dx:SimpleButton>
See Also