AnnotationCollection Class Members
The following tables list the members exposed by AnnotationCollection.
Public Constructors
Name | Description | |
---|---|---|
AnnotationCollection Constructor | Overloaded. |
Public Fields
Name | Description | |
---|---|---|
OnRootGridMouseDownHandled | Used internally for unit tests |
Public Properties
Name | Description | |
---|---|---|
Count | Gets the number of elements actually contained in the Collection. (Inherited from System.Collections.ObjectModel.Collection<T>) | |
Item | Gets or sets the element at the specified index. (Inherited from System.Collections.ObjectModel.Collection<T>) | |
ParentSurface | Gets or sets the parent SciChart.Charting.Visuals.SciChartSurface to perform operations on |
Protected Properties
Name | Description | |
---|---|---|
Items | Gets a IList wrapper around the Collection. (Inherited from System.Collections.ObjectModel.Collection<T>) |
Public Methods
Name | Description | |
---|---|---|
Add | Adds an object to the end of the Collection. (Inherited from System.Collections.ObjectModel.Collection<T>) | |
Clear | Removes all elements from the Collection. (Inherited from System.Collections.ObjectModel.Collection<T>) | |
Contains | Determines whether an element is in the Collection. (Inherited from System.Collections.ObjectModel.Collection<T>) | |
CopyTo | Copies the entire Collection to a compatible one-dimensional System.Array, starting at the specified index of the target array. (Inherited from System.Collections.ObjectModel.Collection<T>) | |
DeselectAll | Deselects all annotations in the AnnotationCollection | |
GetEnumerator | Returns an enumerator that iterates through the Collection. (Inherited from System.Collections.ObjectModel.Collection<T>) | |
GetSchema | Returns an XmlSchema that describes the XML representation of the object that is produced by the WriteXml method and consumed by the ReadXml method | |
IndexOf | Searches for the specified object and returns the zero-based index of the first occurrence within the entire Collection. (Inherited from System.Collections.ObjectModel.Collection<T>) | |
Insert | Inserts an element into the Collection at the specified index. (Inherited from System.Collections.ObjectModel.Collection<T>) | |
Move | (Inherited from System.Collections.ObjectModel.ObservableCollection<IAnnotation>) | |
OnXAxesCollectionChanged | Called with the SciChart.Charting.Visuals.SciChartSurface.XAxes SciChart.Charting.Model.AxisCollection changes | |
OnYAxesCollectionChanged | Called with the SciChart.Charting.Visuals.SciChartSurface.YAxes SciChart.Charting.Model.AxisCollection changes | |
ReadXml | Generates AnnotationCollection from its XML representation. | |
RefreshPositions | Refreshes positions of all annotations within the collection | |
Remove | Removes the first occurrence of a specific object from the Collection. (Inherited from System.Collections.ObjectModel.Collection<T>) | |
RemoveAt | Removes the element at the specified index of the Collection. (Inherited from System.Collections.ObjectModel.Collection<T>) | |
SubscribeInnerCollection | Adds event handlers for the internal collection. | |
SubscribeSurfaceEvents | Subscribes the AnnotationCollection to events on the parent SciChart.Charting.Visuals.SciChartSurface. Should be called internally by the Annotations API when attaching to a surface. | |
TrySelectAnnotation | Gets attempt to select annotation, and returns whether attempt was successful or not | |
UnsubscribeInnerCollection | Removes event handlers for the internal collection. | |
UnsubscribeSurfaceEvents | Unsubscribes the AnnotationCollection to events on the parent SciChart.Charting.Visuals.SciChartSurface. Should be called internally by the Annotations API when detaching from a surface. | |
WriteXml | Converts AnnotationCollection into its XML representation. |
Protected Methods
Name | Description | |
---|---|---|
BlockReentrancy | (Inherited from System.Collections.ObjectModel.ObservableCollection<IAnnotation>) | |
CheckReentrancy | (Inherited from System.Collections.ObjectModel.ObservableCollection<IAnnotation>) | |
ClearItems | Overridden. Removes all elements from the Collection. | |
GetCoordinateCalculator | Returns the coordinate calculator for the axis by axis string ID | |
InsertItem | (Inherited from System.Collections.ObjectModel.ObservableCollection<IAnnotation>) | |
MoveItem | (Inherited from System.Collections.ObjectModel.ObservableCollection<IAnnotation>) | |
OnCollectionChanged | (Inherited from System.Collections.ObjectModel.ObservableCollection<IAnnotation>) | |
OnPropertyChanged | (Inherited from System.Collections.ObjectModel.ObservableCollection<IAnnotation>) | |
RemoveItem | (Inherited from System.Collections.ObjectModel.ObservableCollection<IAnnotation>) | |
SetItem | (Inherited from System.Collections.ObjectModel.ObservableCollection<IAnnotation>) |
Extension Methods
Name | Description | |
---|---|---|
DebugFinalizer<T> | Notifies that finalizer has been invoked | |
FindIndex | Overloaded. Finds the index of the item in the List according to the desired SearchMode. If isSorted is true, uses fast binary search | |
ForEachDo | Overloaded. Iterates over the list and performs an action on each element | |
IsNullOrEmptyList | Determines whether this is a is null or empty list | |
ToDoubleArray | Overloaded. Converts an System.IComparable array to double array | |
ToEnumerable<T> | Yields a single item, converting it to System.Collections.IEnumerable. | |
ToStringArray2D<T> |
Public Events
Name | Description | |
---|---|---|
CollectionChanged | (Inherited from System.Collections.ObjectModel.ObservableCollection<IAnnotation>) |
Protected Events
Name | Description | |
---|---|---|
PropertyChanged | (Inherited from System.Collections.ObjectModel.ObservableCollection<IAnnotation>) |
See Also