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

TdxCustomGalleryControl.EndUpdate Method

In This Article

Enables updates of the gallery control after a BeginUpdate method call.

#Declaration

Delphi
procedure EndUpdate;

#Remarks

Each time you modify any option within property sets of the gallery control or any gallery item/group, the gallery control initiates complete content repainting to reflect these changes. If you need to change several options at once, a sequence of appearance updates occurs. To postpone these updates, enclose the code that modifies property values within the BeginUpdate/EndUpdate method blocks.

The BeginUpdate method postpones updates. To apply the changes made, you should call the EndUpdate method. Ensure that every call to BeginUpdate has a corresponding call to the EndUpdate method, even if an exception occurs.

See Also