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.EndUpdate(Boolean) Method

Releases a lock and updates the collection.

#Declaration

Delphi
procedure EndUpdate(AForceUpdate: Boolean = True); virtual;

#Parameters

Name Type
AForceUpdate Boolean

#Remarks

Use the EndUpdate method paired with the BeginUpdate method to enclose a block of statements, which make bulk updates to the collection.

Note

since the execution of a block of statements can exit in either a normal or exception state, the enclosed 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