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


In This Topic
    DeferRefresh Method
    In This Topic
    Enters a defer cycle that you can use to merge changes to the view and delay automatic refresh.
    Syntax
    'Declaration
     
    Public Overrides Function DeferRefresh() As IDisposable
    'Usage
     
    Dim instance As DataGridCollectionViewBase
    Dim value As IDisposable
     
    value = instance.DeferRefresh()
    public override IDisposable DeferRefresh()

    Return Value

    An IDisposable object that you can use to dispose of the calling object.
    Remarks
    The typical usage is to create a using scope with this method and then place multiple view-changing calls within the scope. This delays automatic refresh until the defer cycle is exited.
    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