ChartCommandsBase.PrintCommand Property
Specifies the command that invokes the chart Print dialog.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v24.1.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 Print dialog when a user clicks the Print Chart button:
<dxc:ChartControl x:Name="chart">
<!--...-->
</dxc:ChartControl>
<dx:SimpleButton VerticalAlignment="Bottom" Width="120" Height="20" Content="Print Chart"
Command="{Binding Commands.PrintCommand, ElementName=chart}">
</dx:SimpleButton>
See Also