Condividi tramite


ICollectionView.DeferRefresh Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

Namespace:  System.ComponentModel
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Function DeferRefresh As IDisposable
IDisposable 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.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.