ChartControl.Commands Property
In This Article
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 |
---|---|
Chart |
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