.NET Standard 2.0+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.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.v20.2.dll


void EndUpdate()


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