.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET 5.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.v21.2.dll

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the BeginUpdate() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also