James
James

Reputation: 2610

what's the difference between binding ItemsSource to an ObservableCollection and to a CollectionViewSource?

I know CollectionViewSource support grouping and sorting, except this, is there any other difference between binding ItemsSource to an ObservableCollection and to a CollectionViewSource?

Upvotes: 0

Views: 256

Answers (1)

Tilak
Tilak

Reputation: 30728

CollectionView of the underlying CollectionViewSource in addition to grouping, sorting, filtering, maintains CurrentItem that comes handy while setting from ViewModel.

Upvotes: 1

Related Questions