Skip to main content
All docs
V25.1
  • AnnotationRepositoryChangedEventArgs Class

    Namespace: DevExpress.XtraCharts

    Assembly: DevExpress.XtraCharts.v25.1.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