Skip to main content

TdxRichEditControlToggleTableAutoFitContents Class

An action object that corresponds to the ToggleTableAutoFitContents command provided by the Rich Edit control.

Declaration

TdxRichEditControlToggleTableAutoFitContents = class(
    TdxRichEditControlAction
)

Remarks

This class does not introduce any new public members. Executing a TdxRichEditControlToggleTableAutoFitContents action object switches between two column width modes of the currently focused table:

  • The column width is automatically adjusted to accommodate the longest content within column’s cells.
  • Table column widths are not affected by their contents.

UI elements linked to a TdxRichEditControlToggleTableAutoFitContents action object are enabled only if the following conditions are met:

See Also