TdxRichEditControlToggleTableCellsOutsideBorder Class
An action object that corresponds to the ToggleTableCellsOutsideBorder command provided by the Rich Edit control.
Declaration
TdxRichEditControlToggleTableCellsOutsideBorder = class(
TdxRichEditControlAction
)
Remarks
This class does not introduce any new public members. Executing a TdxRichEditControlToggleTableCellsOutsideBorder
action object either hides or displays all external printable borders within the currently selected table or cell range:
UI elements linked to a TdxRichEditControlToggleTableCellsOutsideBorder
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.
Note
You can individually control the visibility of the left, top, right, and bottom table/cell borders by using the TdxRichEditControlToggleTableCellsLeftBorder, TdxRichEditControlToggleTableCellsTopBorder, TdxRichEditControlToggleTableCellsRightBorder, and TdxRichEditControlToggleTableCellsBottomBorder action objects, respectively.