DataControlBase.BeginDataUpdate() Method
Prevents visual and internal data updates until the DataControlBase.EndDataUpdate method is called.
Namespace: DevExpress.WinUI.Grid
Assembly: DevExpress.WinUI.Grid.v23.2.dll
NuGet Package: DevExpress.WinUI
#Declaration
#Remarks
To prevent internal data updates, use the BeginDataUpdate and DataControlBase.EndDataUpdate methods. This allows you to improve the control’s performance when sorting by a column, adding, deleting, or modifying records at the data source level, etc.
If the code that performs a sequence of any of these operations is wrapped with the BeginDataUpdate and DataControlBase.EndDataUpdate methods, the grid performs only a single data update, reflecting all changes made, after the DataControlBase.EndDataUpdate method is called.
Note
If a data source is modified from another thread (e.