dotnet / dotnet/wpf

Add basic paging support via PagedCollectionView

Open
#4,491 2 comments 0 reactions 0 assignees View on GitHub
Community Discussion Feature Request
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

I propose that that the [PagedCollectionView](https://docs.microsoft.com/en-us/previous-versions/windows/silverlight/dotnet-windows-silverlight/dd538382(v=vs.95)) and the corresponding [IPagedCollectionView](https://docs.microsoft.com/en-us/previous-versions/windows/silverlight/dotnet-windows-silverlight/dd491235(v=vs.95)) from Silverlight are added to WPF.

While it might be possible to get a better implementation it seems just taking the existing code from the Silverlight codebase and adopting the existing API as is seems to be the most straightforward and easiest way to get basic support for paging without having to put a lot of making a new API.

Having a standardized interface such as IPagedCollectionView for paging would allow standard controls for paging and make it a lot easier to show a portion of data for example in LOB applications.

- [ ] Add [IPagedCollectionView](https://docs.microsoft.com/en-us/previous-versions/windows/silverlight/dotnet-windows-silverlight/dd491235(v=vs.95))
- [ ] Add [PagedCollectionView](https://docs.microsoft.com/en-us/previous-versions/windows/silverlight/dotnet-windows-silverlight/dd538382(v=vs.95))
- [ ] Add [DataPager](https://docs.microsoft.com/en-us/previous-versions/windows/silverlight/dotnet-windows-silverlight/dd538632(v=vs.95)) control or similar

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.