[]
This collection takes an IBindingList and wraps its features to be consumed as an IDataCollection<T>.
public class C1BindingListDataCollection : C1DataCollectionBase<object?>, IDataCollection<object?>, IEnumerable<object?>, IEnumerable, IReadOnlyList<object?>, IReadOnlyCollection<object?>, INotifyCollectionChanged, ISupportIndexing<object?>, INotifyPropertyChanged, IDisposable, ISupportFiltering, ISupportSource, ISupportSorting, ISupportEditing<object?>, ISupportCreateNewItem<object?>
| Name | Description |
|---|---|
| C1BindingListDataCollection(IBindingList) | Initializes a new instance of the C1BindingListDataCollection class. |
| Name | Description |
|---|---|
| BindingList | Gets the underlying IBindingList. |
| BindingListView | Gets the underlying IBindingListView if it is implemented by the source. |
| FilterExpression | Gets the filter expression applied to the data. |
| InternalList | Gets or sets the list that hold the items to be returned in the public api. |
| this[int] | Gets the element at the specified index in the read-only list. |
| SortDescriptions | Gets the sort descriptions applied to the data. |
| Source | Gets the data source of this collection. |
| Name | Description |
|---|---|
| CanFilter(FilterExpression?) | Returns whether the collection is able to filter the specified |
| 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 |
| CreateNewItem() | Creates a new item of the collection. |
| Dispose(bool) | Called to dispose resources. |
| FilterAsync(FilterExpression?, CancellationToken) | Filters the data using specified |
| GetItemType() | Gets the type of the item. |
| GetPropertyDescriptorValue<T>(PropertyDescriptor, object) | Gets the property descriptor value. |
| 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 |
| ToFilterString(FilterExpression?, ITypedList?) | Converts the |
| Name | Description |
|---|---|
| FilterChanged | Raised after a filter operation was performed. |
| SortChanged | Raised after a sort operation was performed. |