Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ChartCommandsBase.ExportToGifCommand Property

Specifies the command that invokes the Save As dialog to export the chart to a GIF file.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v24.2.dll

NuGet Package: DevExpress.Wpf.Charts

#Declaration

public ICommand ExportToGifCommand { get; set; }

#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 GIF button:

<dxc:ChartControl x:Name="chart">
      <!--...-->
</dxc:ChartControl>
<dx:SimpleButton VerticalAlignment="Bottom" Width="120" Height="20" Content="Export to GIF" 
                 Command="{Binding Commands.ExportToGifCommand, ElementName=chart}">
</dx:SimpleButton>
See Also