Skip to main content
.NET 6.0+

ISupportUpdate.BeginUpdate() Method

Prevents an entity implementing the ISupportUpdate interface from being updated until the ISupportUpdate.EndUpdate method is called.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v23.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

void BeginUpdate()

Remarks

The ISupportUpdate.BeginUpdate and ISupportUpdate.EndUpdate methods are designed to implement batch modifications with UI entities. After the ISupportUpdate.BeginUpdate method has been called, and until a call to the ISupportUpdate.EndUpdate method, generally, an entity’s events will not be raised, and a UI will not be refreshed. This allows you to prevent excessive UI updates when changing multiple settings at once. For this purpose, enclose the code that changes the properties within calls to the ISupportUpdate.BeginUpdate and ISupportUpdate.EndUpdate methods.

See Also