TdxRichEditControlToggleTableCellsTopCenterAlignment Class
An action object that corresponds to the ToggleTableCellsTopCenterAlignment object provided by the Rich Edit control.
Declaration
TdxRichEditControlToggleTableCellsTopCenterAlignment = class(
TdxRichEditControlAction
)
Remarks
This class does not introduce any new public members. Executing a TdxRichEditControlToggleTableCellsTopCenterAlignment action object centers the content at the top of all selected cells or a cell in which the caret, a selected text, or focused image is located.
UI elements linked to a TdxRichEditControlToggleTableCellsTopCenterAlignment 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 is located within a table.
To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlToggleTableCellsTopCenterAlignment action object, use the sdxRichEditCommandToggleTableCellsTopCenterAlignmentMenuCaption and sdxRichEditCommandToggleTableCellsTopCenterAlignmentDescription resource strings, respectively.