ChartCommands.DrawTrendLineIndicatorCommand Property
Specifies the command that activates the mode of drawing a Trend Line.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v24.2.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 following code activates the Trend Line indicator’s drawing mode when a user clicks the Draw Trend Line button:
<dxc:ChartControl x:Name="chart">
<!--...-->
</dxc:ChartControl>
<dx:SimpleButton VerticalAlignment="Bottom" Height="40" Content="Draw Trend Line"
Command="{Binding Commands.DrawTrendLineIndicatorCommand, ElementName=chart}">
</dx:SimpleButton>
See Also