Relativity
Relativity

Reputation: 6868

How I can implement Paging in MVVM?

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 there any default paging mechanism or Do we have to go with custom paging ?

Upvotes: 0

Views: 3351

Answers (2)

Jon
Jon

Reputation: 437376

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

Upvotes: 4

Bogdan Maxim
Bogdan Maxim

Reputation: 5946

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

Upvotes: 0

Related Questions