TdxRichEditControlResetTableCellsBorders Class
An action object that corresponds to the ResetTableCellsBorders command provided by the Rich Edit control.
Declaration
TdxRichEditControlResetTableCellsBorders = class(
TdxRichEditControlAction
)
Remarks
This class does not introduce any new public members. Executing a TdxRichEditControlResetTableCellsBorders action object removes all borders within the current table cell selection. If borders are already hidden within the cell selection, executing this action object has no effect.
UI elements linked to a TdxRichEditControlResetTableCellsBorders action object are enabled only if the following conditions are met:
The Rich Edit control’s ReadOnly property is set to False;
The Rich Edit control’s Options.DocumentCapabilities.Tables property is set to TdxDocumentCapability.Default or TdxDocumentCapability.Enabled;
The current selection (i.e., the caret, a text selection, or selected image) is located within a table.
To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlResetTableCellsBorders action object, use the sdxRichEditCommandResetTableCellsBordersMenuCaption and sdxRichEditCommandResetTableCellsBordersDescription resource strings, respectively.