TdxSpreadSheetCustomConditionalFormatting.EndEditing(Boolean) Method
Finishes editing a set of conditional formatting rules applied to a worksheet or Grid View.
Declaration
procedure EndEditing(ACancel: Boolean); virtual;
Parameters
Name | Type |
---|---|
ACancel | Boolean |
Remarks
This procedure works identically to EndUpdate and can additionally perform a set of custom actions, depending on the current implementation of a conditional formatting controller. Enclose the code affecting rule conditions, and/or cell area/style settings within the BeginEditing/EndEditing procedure blocks to treat multiple conditional formatting changes as a single action in your application.
The ACancel parameter is designed to specify whether the additional actions performed by the BeginEditing/EndEditing procedure block are discarded. Note that the current EndEditing procedure implementation ignores a value passed as the ACancel parameter.
As with BeginUpdate/EndUpdate, ensure that every BeginEditing call is followed by an EndEditing call, even if an exception occurs.