Export (0) Print
Expand All

CollectionView.Refresh Method

Updated: September 2010

Re-creates the view.

Namespace:  System.Windows.Data
Assembly:  PresentationFramework (in PresentationFramework.dll)

public virtual void Refresh()
You cannot use methods in XAML.

Implements

ICollectionView.Refresh()

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. For information about how to delay automatic refresh, see DeferRefresh.

Derived classes use the protected RefreshOverride method to override the behavior of this method.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0

Date

History

Reason

September 2010

Clarified remarks.

Customer feedback.

Community Additions

ADD
Show:
© 2014 Microsoft