AnnotationRepositoryChangedEventArgs Class
In This Article
Data for the ChartControl.AnnotationRepositoryChanged event.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.2.dll
NuGet Package: DevExpress.Charts
#Declaration
#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.
}
See Also