TdxRichEditControlToggleTableCellsInsideBorder Class
An action object that corresponds to the ToggleTableCellsInsideBorder command provided by the Rich Edit control.
Declaration
TdxRichEditControlToggleTableCellsInsideBorder = class(
TdxRichEditControlAction
)
Remarks
This class does not introduce any new public members. Executing a TdxRichEditControlToggleTableCellsInsideBoder action object either hides or displays all internal printable borders within the currently selected table or table cell range:
UI elements linked to a TdxRichEditControlToggleTableCellsInsideBorder 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, cell selection, or selected image) is located within a table.
To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlToggleTableCellsInsideBorder action object, use the sdxRichEditCommandToggleTableCellsInsideBorderMenuCaption and sdxRichEditCommandToggleTableCellsInsideBorderDescription resource strings, respectively.
Note
You can individually control the visibility of horizontal and vertical internal table borders by using the TdxRichEditControlToggleTableCellsInsideHorizontalBorder and TdxRichEditControlToggleTableCellsInsideVerticalBorder action objects, respectively.