[]
Represents a collection that contains a set of annotations.
public class AnnotationCollection : CollectionBase, IList, ICollection, IEnumerable
| Name | Description |
|---|---|
| AnnotationCollection() | Initializes a new instance of AnnotationCollecion class. |
| Name | Description |
|---|---|
| BackColor | Gets or sets the background color. |
| this[int] | Gets the item at the specified index. |
| Name | Description |
|---|---|
| Add(Annotation) | Adds an annotation to the end of the collection. |
| OnClearComplete() | Calls when clearing the contents of the CollectionBase instance is complete. |
| OnInsertComplete(int, object) | Calls after inserting a new item into the CollectionBase instance. |
| OnRemoveComplete(int, object) | Calls after removing a new item into the CollectionBase instance. |
| Refresh(Annotation) | Updates the annotation display. |
| Remove(Annotation) | Removes the specified annotation. |
| Name | Description |
|---|---|
| AnnotationAdded | The event occurs when annotation was just added. |
| AnnotationRemoved | The event occurs when annotation was just removed. |
| CollectionCleared | The event occurs when annotation was cleared. |