Skip to main content
.NET 8.0+

ISupportUpdate.EndUpdate() Method

Unlocks an entity implementing the ISupportUpdate interface after a call to the ISupportUpdate.BeginUpdate method, and causes an immediate update.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

void EndUpdate()

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