ChartCommands.AddImageAnnotationCommand Property
Activates the Add Image Annotation mode.
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 implements ICommand. |
Remarks
This command activates the Add Image Annotation mode. After the command is called, users can click a chart to add an editable image annotation. In the invoked dialog, the user can select an image to insert. The annotation is automatically anchored to the pane.
<dxc:ChartControl x:Name="chart">
<!--...-->
</dxc:ChartControl>
<dx:SimpleButton Content="Add Image Annotation"
Command="{Binding ElementName=chart, Path=Commands.AddImageAnnotationCommand}"
HorizontalAlignment="Left" VerticalAlignment="Top"
Height="20">
</dx:SimpleButton>
See Also