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

TdxRichEditControlChangeFontColor Class

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

Declaration

TdxRichEditControlChangeFontColor = class(
    TdxRichEditControlAlphaColorValueAction,
    IdxActionColorValue
)

Remarks

The TdxRichEditControlChangeFontColor class does not introduce any new public members. This action object is designed to be used in a Ribbon or Toolbar UI by the following item controls:

A color picked by using a TcxBarEditItem UI element is automatically applied to the current text selection.

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

To localize the caption and hint displayed by a TcxBarEditItem UI element linked to a TdxRichEditControlChangeFontColor action object, use the sdxRichEditCommandChangeFontColorMenuCaption and sdxRichEditCommandChangeFontColorDescription resource strings, respectively.

Implements

See Also