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

AnnotationRepositoryChangedEventArgs Class

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v21.2.dll

NuGet Package: DevExpress.Charts

Declaration

public class AnnotationRepositoryChangedEventArgs :
    EventArgs

Remarks

The AnnotationRepositoryChanged event occurs after a user adds, edits or deletes an annotation. The AnnotationRepositoryChangedEventArgs class exposes the following properties:

Example

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. 
} 

Inheritance

Object
EventArgs
AnnotationRepositoryChangedEventArgs
See Also