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

TdxSpreadSheetContainer.BeginUpdate Method

In This Article

Disables the floating container object repainting until the EndUpdate procedure is called.

#Declaration

Delphi
procedure BeginUpdate;

#Remarks

Each time the container appearance settings are changed, the Spreadsheet control initiates repainting of the container to reflect these changes. If you need to change several appearance options at once, a seqence of painting updates occurs. To postpone these updates, enclose the code that modifies these options within the BeginUpdate/EndUpdate procedure blocks.

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

To record a custom history action consisting of several modifications applied to the floating container, enclose the corresponding code between the BeginChanging and EndChanging procedure calls within a BeginUpdate/EndUpdate procedure block.

See Also