Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / DataGridCollectionViewBase Class / Refresh Method


In This Topic
    Refresh Method
    In This Topic
    Recreates the view.
    Syntax
    'Declaration
     
    Public Overrides Sub Refresh() 
    'Usage
     
    Dim instance As DataGridCollectionViewBase
     
    instance.Refresh()
    public override void Refresh()

    Return Value

    When Refresh is called, the view will be cleared and reconstructed from the items in the underlying source. If the items were provided directly through the Items collection, they will not be touched nor will the view be cleared.

    Once the view has been refreshed, any sorting, grouping, or filtering criteria that were applied to the view will be re-applied. 

    Requirements

    Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also