Back to Devexpress

ChartControl.Commands Property

wpf-devexpress-dot-xpf-dot-charts-dot-chartcontrol-1288aa4d.md

latest1.5 KB
Original Source

ChartControl.Commands Property

Provides access to the ChartControl‘s commands.

Namespace : DevExpress.Xpf.Charts

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

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
[Browsable(false)]
public ChartCommands Commands { get; set; }
vb
<Browsable(False)>
Public Property Commands As ChartCommands

Property Value

TypeDescription
ChartCommands

A set of chart commands.

|

Remarks

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

xaml
<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

ChartControl Class

ChartControl Members

DevExpress.Xpf.Charts Namespace