Skip to main content

TdxSpreadSheetCellStyle.EndUpdate Method

Enables repainting for the cell object after a BeginUpdate procedure call.

Declaration

procedure EndUpdate;

Remarks

Each time the cell object’s style settings are changed, the Spreadsheet or Report Designer control initiates repainting of the respective cell to reflect these changes.

To improve performance of a spreadsheet-based application, enclose the code that performs multiple cell style changes 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 is followed by a call to the EndUpdate procedure, even if an exception occurs.

See Also