Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxComponentCollection.BeginUpdate Method

In This Article

Acquires a lock on the collection.

#Declaration

Delphi
procedure BeginUpdate; virtual;

#Remarks

Use the BeginUpdate method, if bulk changes are to be made to the collection.

This method is used in combination with the EndUpdate method to wrap a block of statements, which update the collection.

Note

since the execution of the block of statements can exit with either a normal or exception state, these statements and the EndUpdate method should be contained within try… finally… blocks following the BeginUpdate method to ensure that the lock will be released in all cases.

See Also