[]
Collection that wraps a ICollectionView and exposes it as a IDataCollection<T>
public class C1CollectionViewDataCollection : C1DataCollectionBase<object?>, IDataCollection<object?>, IEnumerable<object?>, IEnumerable, IReadOnlyList<object?>, IReadOnlyCollection<object?>, INotifyCollectionChanged, ISupportIndexing<object?>, INotifyPropertyChanged, IDisposable, ISupportSource, ISupportSorting, ISupportFiltering, ISupportGrouping, ISupportEditing<object?>
Name | Description |
---|---|
C1CollectionViewDataCollection(ICollectionView, bool) | Initializes a new instance of the C1CollectionViewDataCollection class. |
Name | Description |
---|---|
CollectionView | Gets the underlying collection view. |
EditableCollectionView | Gets the editable collection view, or null if it is not editable. |
FilterExpression | Gets the filter expression. |
GroupDescriptions | Gets the group descriptions. |
IsPlain | Gets whether the group items will be inline with the data items or the items will be the first level of group items. |
ItemType | Gets the type of the items. |
SortDescriptions | Gets the sort descriptions applied to the data. |
Source | Gets the data source of this collection. |
Name | Description |
---|---|
CanFilter(FilterExpression?) | Determines whether this collection can filter the specified filter expression. |
CanGroup(params GroupDescription[]) | Returns whether the collection is able to group the specified group descriptions. |
CanInsert(int, object?) | Determines whether a new item can be inserted in the collection at the specified |
CanMove(int, int) | Determines whether the item at |
CanRemove(int) | Determines whether the item at the specified |
CanReplace(int, object?) | Determines whether the item at the specified |
CanSort(params SortDescription[]) | Returns whether the collection is able to sort the specified |
Dispose(bool) | Called to dispose resources. |
FilterAsync(FilterExpression?, CancellationToken) | Filters the collection according to the specified |
GetItemType() | Gets the type of the items. |
GetPropertyDescriptorValue<T>(PropertyDescriptor, object) | Gets the property descriptor value. |
GroupAsync(params GroupDescription[]) | Groups the collection according to the specified group descriptions. |
GroupAsync(GroupDescription[], CancellationToken) | Groups the collection according to the specified group descriptions. |
InsertAsync(int, object?, CancellationToken) | |
MoveAsync(int, int, CancellationToken) | |
RemoveAsync(int, CancellationToken) | |
ReplaceAsync(int, object?, CancellationToken) | |
SetPropertyDescriptorValue<T>(PropertyDescriptor, object, T) | Sets the property descriptor value. |
SortAsync(params SortDescription[]) | Sorts the collection according to the specified |
SortAsync(SortDescription[], CancellationToken) | Sorts the collection according to the specified |
Name | Description |
---|---|
FilterChanged | Occurs when the filter changed. |
GroupChanged | Occurs when the groups changed. |
SortChanged | Raised after a sort operation was performed. |