[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Chart.Annotations.AnnotationsCollection

AnnotationsCollection Class

Collection of the annotation objects

Inheritance
AnnotationsCollection
Namespace: GrapeCity.ActiveReports.Chart.Annotations
Assembly: MESCIUS.ActiveReports.Chart.dll
Syntax
[TypeConverter(typeof(StdCollectionTypeConverter))]
public sealed class AnnotationsCollection : CollectionBase, IList, ICollection, IEnumerable, IGraphItem, ICloneable, IGraphXmlSerializable, IDisposable

Constructors

Name Description
AnnotationsCollection()

Initializes new instance of the AnnotationsCollection class

AnnotationsCollection(Annotation[])

Initializes new instance of the AnnotationsCollection class

Properties

Name Description
Capacity

Gets or sets the number of elements that the CollectionBase can contain.

Count

Gets the number of elements contained in the CollectionBase instance. This property cannot be overridden.

this[int]

Gets or sets item by given index

this[string]

Gets item by given name

Methods

Name Description
Add(Annotation)

Adds annotation object to the collection

AddRange(Annotation[])

Adds a set of objects to the current collection

Clear()

Clears the collection

Clone()

Creates a new object that is a copy of the current instance.

Contains(Annotation)

Determines whether the Collection contains the given Annotation

CopyTo(Annotation[], int)

TBW

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

IndexOf(Annotation)

Returns the index of the first occurrence of a value in the collection.

Insert(int, Annotation)

Inserts an element into the collection at the specified index.

OnClearComplete()
OnInsertComplete(int, object)
OnRemoveComplete(int, object)
OnSetComplete(int, object, object)
Remove(Annotation)

Removes the first occurrence of a specific object from the collection.

RemoveAt(int)

Removes objects at the index specified

ToArray()

TBW

Events

Name Description
Change

Occurs when collection contents is changed