AnnotationsCollection - класс

Коллекция моделей аннотаций

Definition

Пространство имён: Tessa.UI.Views.Charting.Annotations
Сборка: Tessa.UI (в Tessa.UI.dll) Версия: 3.6.0.22
C#
public class AnnotationsCollection : SuspendableObservableCollection<IAnnotationModel>
Inheritance
Object    CollectionIAnnotationModel    ObservableCollectionIAnnotationModel    SuspendableObservableCollectionIAnnotationModel    AnnotationsCollection

Конструкторы

AnnotationsCollection Initializes a new instance of the AnnotationsCollection class. Initializes a new instance of the ListT class that is empty and has the default initial capacity.
AnnotationsCollection(IEnumerableIAnnotationModel) Initializes a new instance of the AnnotationsCollection class. Initializes a new instance of the ListT class that contains elements copied from the specified collection and has sufficient capacity to accommodate the number of elements copied.

Свойства

CanSuspendNotifications Признак того, что вызов SuspendNotifications подавляет уведомления об изменении.
(Унаследован от SuspendableObservableCollectionT)
CountGets the number of elements actually contained in the CollectionT.
(Унаследован от CollectionIAnnotationModel)
ItemGets or sets the element at the specified index.
(Унаследован от CollectionIAnnotationModel)
ItemsGets a IListT wrapper around the CollectionT.
(Унаследован от CollectionIAnnotationModel)

Методы

AddAdds an object to the end of the CollectionT.
(Унаследован от CollectionIAnnotationModel)
BlockReentrancyDisallows reentrant attempts to change this collection.
(Унаследован от ObservableCollectionIAnnotationModel)
CheckReentrancyChecks for reentrant attempts to change this collection.
(Унаследован от ObservableCollectionIAnnotationModel)
ClearRemoves all elements from the CollectionT.
(Унаследован от CollectionIAnnotationModel)
ClearItemsRemoves all items from the collection.
(Унаследован от ObservableCollectionIAnnotationModel)
ContainsDetermines whether an element is in the CollectionT.
(Унаследован от CollectionIAnnotationModel)
CopyToCopies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array.
(Унаследован от CollectionIAnnotationModel)
EqualsDetermines whether the specified object is equal to the current object.
(Унаследован от Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Унаследован от Object)
GetEnumeratorReturns an enumerator that iterates through the CollectionT.
(Унаследован от CollectionIAnnotationModel)
GetHashCodeServes as the default hash function.
(Унаследован от Object)
GetTypeGets the Type of the current instance.
(Унаследован от Object)
IndexOfSearches for the specified object and returns the zero-based index of the first occurrence within the entire CollectionT.
(Унаследован от CollectionIAnnotationModel)
InsertInserts an element into the CollectionT at the specified index.
(Унаследован от CollectionIAnnotationModel)
InsertItemInserts an item into the collection at the specified index.
(Унаследован от ObservableCollectionIAnnotationModel)
MemberwiseCloneCreates a shallow copy of the current Object.
(Унаследован от Object)
MoveMoves the item at the specified index to a new location in the collection.
(Унаследован от ObservableCollectionIAnnotationModel)
MoveItemMoves the item at the specified index to a new location in the collection.
(Унаследован от ObservableCollectionIAnnotationModel)
OnCollectionChangedRaises the CollectionChanged event with the provided arguments.
(Унаследован от SuspendableObservableCollectionT)
OnPropertyChangedRaises the PropertyChanged event with the provided arguments.
(Унаследован от SuspendableObservableCollectionT)
RemoveRemoves the first occurrence of a specific object from the CollectionT.
(Унаследован от CollectionIAnnotationModel)
RemoveAtRemoves the element at the specified index of the CollectionT.
(Унаследован от CollectionIAnnotationModel)
RemoveItemRemoves the item at the specified index of the collection.
(Унаследован от ObservableCollectionIAnnotationModel)
SetItemReplaces the element at the specified index.
(Унаследован от ObservableCollectionIAnnotationModel)
SuspendNotifications

Предотвращает обновления об изменении коллекции, пока не будет вызван метод Dispose на возвращённом объекте.

Если метод вызван несколько раз, то для всех объектов должен быть вызван метод Dispose.


(Унаследован от SuspendableObservableCollectionT)
ToStringReturns a string that represents the current object.
(Унаследован от Object)

События

CollectionChangedOccurs when an item is added, removed, changed, moved, or the entire list is refreshed.
(Унаследован от ObservableCollectionIAnnotationModel)
PropertyChangedOccurs when a property value changes.
(Унаследован от ObservableCollectionIAnnotationModel)

См. также