Skip to main content

ChartControl.Commands Property

Provides access to the ChartControl‘s commands.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

Declaration

[Browsable(false)]
public ChartCommands Commands { get; set; }

Property Value

Type Description
ChartCommands

A set of chart commands.

Remarks

The following example shows how to use ChartCommands.RunDesignerCommand to invoke the Chart Designer:

<dxc:ChartControl x:Name="chart">
   <!--...-->
</dxc:ChartControl>
<dx:SimpleButton Command="{Binding Commands.RunDesignerCommand, ElementName=chart}" 
                 VerticalAlignment="Bottom" Width="100" Height="50" Content="Run Designer" />
See Also