Xceed DataGrid for WPF v7.2 Documentation
DeferColumnsUpdate Method (DataGridControl)


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridControl Class : DeferColumnsUpdate Method

Enters a defer cycle that can be used to merge column reordering and visibility changes and delay automatic refresh.

Syntax
'Declaration
 
Public Function DeferColumnsUpdate() As IDisposable
'Usage
 
Dim instance As DataGridControl
Dim value As IDisposable
 
value = instance.DeferColumnsUpdate()
public IDisposable DeferColumnsUpdate()

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 column position and visibility-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

Reference

DataGridControl Class
DataGridControl Members