TdxRichEditControlToggleTableCellsAllBorders Class
An action object that corresponds to the ToggleTableCellsAllBorders command provided by the Rich Edit control.
Declaration
TdxRichEditControlToggleTableCellsAllBorders = class(
TdxRichEditControlAction
)
Remarks
This class does not introduce any new public members. Executing a TdxRichEditControlToggleTableCellsAllBorders
action object either hides or displays all printable borders of the currently selected cells:
UI elements linked to a TdxRichEditControlToggleTableCellsAllBorders
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.
The Rich Edit control also provides two groups of action objects that you can link to UI elements in your application to allow users to:
Manage the visibility of individual cell/table borders (TdxRichEditControlToggleTableCellsBottomBorder, TdxRichEditControlToggleTableCellsInsideHorizontalBorder, TdxRichEditControlToggleTableCellsInsideVerticalBorder, TdxRichEditControlToggleTableCellsLeftBorder, TdxRichEditControlToggleTableCellsRightBorder, and TdxRichEditControlToggleTableCellsTopBorder);
Manage the visibility of the “outside” and “inside” table border groups (TdxRichEditControlToggleTableCellsInsideBorder, and TdxRichEditControlToggleTableCellsOutsideBorder).