UIObservableCollection<TItem, TCollection> - класс |
Пространство имён: Tessa.UI
public abstract class UIObservableCollection<TItem, TCollection> : ObservableCollection<TItem, TCollection> where TCollection : class, Object, IObservableCollection<TItem, TCollection>
Тип UIObservableCollection<TItem, TCollection> предоставляет следующие члены.
Имя | Описание | |
---|---|---|
![]() | UIObservableCollection<TItem, TCollection>() | Создаёт экземпляр коллекции с параметрами по умолчанию. |
![]() | UIObservableCollection<TItem, TCollection>(IEnumerable<TItem>) |
Создаёт экземпляр коллекции, в которую копируются элементы из заданной коллекции.
Не выполняет клонирование переданных элементов.
|
![]() | UIObservableCollection<TItem, TCollection>(List<TItem>) |
Создаёт экземпляр коллекции, в которую копируются элементы из заданного списка.
Не выполняет клонирование переданных элементов.
|
Имя | Описание | |
---|---|---|
![]() | Count | Gets the number of elements actually contained in the Collection<T>. (Унаследован от Collection<TItem>.) |
![]() | Item | Gets or sets the element at the specified index. (Унаследован от Collection<TItem>.) |
![]() | Items | Gets a IList<T> wrapper around the Collection<T>. (Унаследован от Collection<TItem>.) |
Имя | Описание | |
---|---|---|
![]() | Add | Adds an object to the end of the Collection<T>. (Унаследован от Collection<TItem>.) |
![]() | BlockReentrancy | Disallows reentrant attempts to change this collection. (Унаследован от ObservableCollection<TItem>.) |
![]() | CheckReentrancy | Checks for reentrant attempts to change this collection. (Унаследован от ObservableCollection<TItem>.) |
![]() | Clear | Removes all elements from the Collection<T>. (Унаследован от Collection<TItem>.) |
![]() | ClearItems | Removes all items from the collection. (Унаследован от ObservableCollection<TItem>.) |
![]() | Clone |
Выполняет глубокое копирование коллекции со всеми её элементами.
Если элементы поддерживают [System.ICloneable], то они также клонируются.
(Унаследован от ObservableCollection<TItem, TCollection>.) |
![]() | Contains | Determines whether an element is in the Collection<T>. (Унаследован от Collection<TItem>.) |
![]() | CopyTo | Copies the entire Collection<T> to a compatible one-dimensional Array, starting at the specified index of the target array. (Унаследован от Collection<TItem>.) |
![]() | Equals | Determines whether the specified object is equal to the current object. (Унаследован от Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Унаследован от Object.) |
![]() | GetClonedItems |
Возвращает текущие элементы, которые клонируются, если они поддерживают клонирование.
(Унаследован от ObservableCollection<TItem, TCollection>.) |
![]() | GetEnumerator | Returns an enumerator that iterates through the Collection<T>. (Унаследован от Collection<TItem>.) |
![]() | GetHashCode | Serves as the default hash function. (Унаследован от Object.) |
![]() | GetType | Gets the Type of the current instance. (Унаследован от Object.) |
![]() | IndexOf | Searches for the specified object and returns the zero-based index of the first occurrence within the entire Collection<T>. (Унаследован от Collection<TItem>.) |
![]() | Insert | Inserts an element into the Collection<T> at the specified index. (Унаследован от Collection<TItem>.) |
![]() | InsertItem | Inserts an item into the collection at the specified index. (Унаследован от ObservableCollection<TItem>.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Унаследован от Object.) |
![]() | Move | Moves the item at the specified index to a new location in the collection. (Унаследован от ObservableCollection<TItem>.) |
![]() | MoveItem | Moves the item at the specified index to a new location in the collection. (Унаследован от ObservableCollection<TItem>.) |
![]() | OnCollectionChanged | Raises the CollectionChanged event with the provided arguments. (Унаследован от ObservableCollection<TItem>.) |
![]() | OnPropertyChanged(String) |
Уведомляет об изменении свойства с заданным именем у объекта.
(Унаследован от ObservableCollection<TItem, TCollection>.) |
![]() | OnPropertyChanged(PropertyChangedEventArgs) | Raises the PropertyChanged event with the provided arguments. (Унаследован от ObservableCollection<TItem>.) |
![]() | OnPropertyChangedAsync(String) |
Уведомляет об изменении свойства с заданным именем у объекта асинхронно, в соответствии
с принятым для текущего объекта поведением. Если есть возможность вызвать событие синхронно, то оно вызывается синхронно.
Если объект является моделью представления WPF и текущий поток отличен от потока диспетчера WPF для приложения
(основной поток UI), то выполнение асинхронно переключается в этот поток. Если это не так, то событие выполняется синхронно.
(Унаследован от ObservableCollection<TItem, TCollection>.) |
![]() | OnPropertyChangedAsync(PropertyChangedEventArgs) |
Уведомляет об изменении свойства с именем, заданным в аргументах события, асинхронно, в соответствии
с принятым для текущего объекта поведением. Если есть возможность вызвать событие синхронно, то оно вызывается синхронно.
Если объект является моделью представления WPF и текущий поток отличен от потока диспетчера WPF для приложения
(основной поток UI), то выполнение асинхронно переключается в этот поток. Если это не так, то событие выполняется синхронно.
(Переопределяет ObservableCollection<TItem, TCollection>.OnPropertyChangedAsync(PropertyChangedEventArgs).) |
![]() | Remove | Removes the first occurrence of a specific object from the Collection<T>. (Унаследован от Collection<TItem>.) |
![]() | RemoveAt | Removes the element at the specified index of the Collection<T>. (Унаследован от Collection<TItem>.) |
![]() | RemoveItem | Removes the item at the specified index of the collection. (Унаследован от ObservableCollection<TItem>.) |
![]() | SetItem | Replaces the element at the specified index. (Унаследован от ObservableCollection<TItem>.) |
![]() | ToString | Returns a string that represents the current object. (Унаследован от Object.) |
Имя | Описание | |
---|---|---|
![]() | CollectionChanged | Occurs when an item is added, removed, changed, moved, or the entire list is refreshed. (Унаследован от ObservableCollection<TItem>.) |
![]() | PropertyChanged | Occurs when a property value changes. (Унаследован от ObservableCollection<TItem>.) |
Имя | Описание | |
---|---|---|
![]() | Get | (Определяется ComHelper.) |
![]() | InternalMarkerCanvas |
Возвращает маркер аннотации
(Определяется AnnotationInternalsAccessor.) |
![]() | Invoke | (Определяется ComHelper.) |
![]() | Set | (Определяется ComHelper.) |