开发者

How I can implement Paging in MVVM?

开发者 https://www.devze.com 2023-01-02 05:07 出处:网络
I have a WPFToolkit Datagrid inside my user control. I am creating my user contrrol in mvvm pattern. How can I implement paging in datagrid?

I have a WPFToolkit Datagrid inside my user control. I am creating my user contrrol in mvvm pattern. How can I implement paging in datagrid?

Is ther开发者_Go百科e any default paging mechanism or Do we have to go with custom paging ?


For the benefit of future readers: I just answered practically the same question here, giving the source of a full implementation.


There is an implementation of a PagedCollectionView in the Silverlight toolkit Combine this with some samples from the internet and you will have paging in no time Here are some samples with MVVM and CollectionView to get you started

0

精彩评论

暂无评论...
验证码 换一张
取 消