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

ChartControl.Commands Property

Provides access to the ChartControl‘s commands.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v24.2.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