[]
Collection that wraps another collection to be shown in pages of a maximum number of items.
public class C1PagedDataCollection<T> : C1WrapDataCollection<T>, IDataCollection<T>, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable, INotifyCollectionChanged, ISupportIndexing<T>, INotifyPropertyChanged, IDisposable, ISupportSorting, ISupportFiltering, ISupportGrouping, ISupportVirtualization, ISupportConnection, ISupportAsyncLoading<T>, ISupportIncrementalLoading, ISupportRefreshing, ISupportRangeEditing<T>, ISupportEditing<T>, ISupportCreateNewItem<T>, ISupportSource, ISupportPaging where T : class?
| Name | Description |
|---|---|
| T |
| Name | Description |
|---|---|
| C1PagedDataCollection(IEnumerable) | Initializes a new instance of the C1PagedDataCollection<T> class. |
| Name | Description |
|---|---|
| CurrentPage | Gets the current page number. |
| PageSize | Gets or sets the maximum number of items per page. |
| PagesCount | Gets the total number of pages in the collection. |
| TotalCount | Gets the total number of items in the collection. |
| Name | Description |
|---|---|
| Dispose(bool) | Called to dispose resources. |
| MoveToPageAsync(int, CancellationToken) | Moves to the page |
| OnSourceCollectionChanged(object?, NotifyCollectionChangedEventArgs) | Called when the source collection changed. |