Skip to main content
A newer version of this page is available. .

TdxRichEditControlChangeFontSize Class

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

Declaration

TdxRichEditControlChangeFontSize = class(
    TdxRichEditControlSingleValueAction,
    IdxActionFontSizeValue
)

Remarks

The TdxRichEditControlChangeFontSize class does not introduce any new public members. This action object is designed to be used in a Ribbon or Toolbar UI by a TcxComboBox item control.

A font size picked by using a TcxBarEditItem UI element is automatically applied to all text selections in the current document.

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

To localize the caption and hint displayed by TcxBarEditItem UI element linked to a TdxRichEditControlChangeFontSize action object, use the sdxRichEditCommandChangeFontSizeMenuCaption and sdxRichEditCommandChangeFontSizeDescription resource strings, respectively.

See Also