Skip to main content
A newer version of this page is available. .

AnnotationRepositoryChangedEventArgs.Annotation Property

Returns the changed annotation.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.2.dll

NuGet Packages: DevExpress.Charts, DevExpress.WindowsDesktop.Charts

Declaration

public Annotation Annotation { get; }

Property Value

Type Description
Annotation

The changed annotation.

Remarks

The following example gets the type of the annotation change and annotation object:

 void chartControl1_AnnotationRepositoryChanged(object sender, AnnotationRepositoryChangedEventArgs e) {
  AnnotationRepositoryChange lastChange = e.Change;
  Annotation myAnnotation = e.Annotation;
  //Add your logic here. 
} 
See Also