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

TcxCustomImageList.CancelUpdate Method

In This Article

Discards the postponed change notifications and allows the image list to send notifications to its listeners.

#Declaration

Delphi
procedure CancelUpdate;

#Remarks

Every time a list change occurs, the image list sends notifications to its listeners and raises the OnChange event. Enclose multiple image list modifications between the BeginUpdate and CancelUpdate/EndUpdate procedure calls to avoid excessive listener updates. Unlike EndUpdate, the CancelUpdate procedure discards all pending notifications.

Note

A CancelUpdate or an EndUpdate procedure call should follow every BeginUpdate call, even if an exception occurs.

See Also