CollectionViewSource.DeferRefresh Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Enters a defer cycle that you can use to merge changes to the view and delay automatic refresh.
Assembly: System.Windows (in System.Windows.dll)
Return Value
Type: System.IDisposableAn IDisposable object that you can use to dispose of the calling object.
Call this method before making multiple changes to the ICollectionView properties of the View property value. These changes will not be validated until Dispose is called on the DeferRefresh return value. Dispose will throw an InvalidOperationException If the View has inconsistent sorting, filtering, and grouping settings. For more information, see ISupportInitialize.EndInit.