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

StackOverflow https://stackoverflow.com/questions/20137440

سؤال

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

هل كانت مفيدة؟

المحلول

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top