All docs
V21.1
21.2 (EAP/Beta)
21.1
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

AnnotationRepositoryChangedEventArgs.Change Property

Returns the AnnotationRepositoryChange value that indicates the type of change a user makes.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v21.1.dll

Declaration

public AnnotationRepositoryChange Change { get; }

Property Value

Type Description
AnnotationRepositoryChange

An annotation change that a user makes.

Available values:

Name Description
Addition

A user adds an annotation.

Deletion

A user deletes an annotation.

Text

A user edits annotation text.

Image

A user changes an annotation image.

Remarks

The Change property can be set to the following values:

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