共用方式為


PagedCollectionView.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.Windows.Data
Assembly:  System.Windows.Data (in System.Windows.Data.dll)

Syntax

'Declaration
Public Function DeferRefresh As IDisposable
public IDisposable DeferRefresh()

Return Value

Type: System.IDisposable
An IDisposable object that you can use to dispose of the calling object.

Implements

ICollectionView.DeferRefresh()

Exceptions

Exception Condition
InvalidOperationException

IsAddingNew is true.

-or-

IsEditingItem is true.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

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