From the CollectionView.Refresh Method page at MSDN.
When you set the Filter, SortDescriptions, or GroupDescriptions property; a refresh occurs. You do not have to call the Refresh method immediately after you set one of those properties.
If you really want to call Refresh()
instead of setting the Filter
property, then you can extend the CollectionView
class and override the protected
RefreshOverride
method to override the behaviour of the method.