แก้ไข

แชร์ผ่าน


CollectionView.Refresh Method

Definition

Re-creates the view.

public:
 virtual void Refresh();
public virtual void Refresh ();
abstract member Refresh : unit -> unit
override this.Refresh : unit -> unit
Public Overridable Sub Refresh ()

Implements

Remarks

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.

Applies to

See also