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

TdxSpreadSheetConditionalFormatting.BeginEditing Method

In This Article

Initiates recording a set of conditional formatting changes as a single history action in a Spreadsheet or Report Designer control.

#Declaration

Delphi
procedure BeginEditing; override;

#Remarks

This procedure works identically to BeginUpdate if the control’s OptionsBehavior.History property is set to False. Otherwise, the BeginEditing procedure call starts recording a set of changes made to a Table View worksheet’s conditional formatting (including adding, removing, or changing one or more conditional formatting rules) as the latest history action. When the last conditional formatting change is done, call the EndEditing procedure to finish recording the action and apply all the pending changes to the worksheet.

If you enclose the code affecting rule conditions, and/or cell area/style settings within the BeginUpdate/EndUpdate procedure blocks instead of BeginEditing/EndEditing when the history functionality is enabled, every change performed is recorded as an individual history action.

As with BeginUpdate/EndUpdate, ensure that every BeginEditing call is followed by an EndEditing call, even if an exception occurs.

See Also