DomainDataSourceView.ICollectionView.DeferRefresh Method

WCF RIA Services

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Enters a defer cycle that you can use to merge changes to the view and delay automatic refresh.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.DomainServices (in System.Windows.Controls.DomainServices.dll)

IDisposable ICollectionView.DeferRefresh()

Return Value

Type: System.IDisposable
The typical usage is to create a using scope with an implementation of this method and then include multiple view-changing calls within the scope. The implementation should delay automatic refresh until after the using scope exits.



This member is an explicit interface member implementation. It can be used only when the DomainDataSourceView instance is cast to an ICollectionView interface.