Back to Devexpress

AnnotationRepositoryChangedEventArgs.Annotation Property

corelibraries-devexpress-dot-xtracharts-dot-annotationrepositorychangedeventargs.md

latest1.9 KB
Original Source

AnnotationRepositoryChangedEventArgs.Annotation Property

Returns the changed annotation.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public Annotation Annotation { get; }
vb
Public ReadOnly Property Annotation As Annotation

Property Value

TypeDescription
Annotation

The changed annotation.

|

Remarks

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

csharp
void chartControl1_AnnotationRepositoryChanged(object sender, AnnotationRepositoryChangedEventArgs e) {
  AnnotationRepositoryChange lastChange = e.Change;
  Annotation myAnnotation = e.Annotation;
  //Add your logic here. 
}
vb
Private Sub chartControl1_AnnotationRepositoryChanged(ByVal sender As Object, ByVal e As AnnotationRepositoryChangedEventArgs)
  Dim lastChange As AnnotationRepositoryChange = e.Change
  Dim myAnnotation As Annotation = e.Annotation
  'Add your logic here. 
End Sub

See Also

AnnotationRepositoryChangedEventArgs Class

AnnotationRepositoryChangedEventArgs Members

DevExpress.XtraCharts Namespace