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

TdxRichEditControlChangePageColor Class

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

Declaration

TdxRichEditControlChangePageColor = class(
    TdxRichEditControlAlphaColorValueAction
)

Remarks

The TdxRichEditControlChangePageColor 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 an end-user via a TcxBarEditItem UI element is used as the active document’s background color.

UI elements linked to a TdxRichEditControlChangePageColor action object are enabled only if the Rich Edit control’s ReadOnly property is set to False.

To localize the caption and hint displayed by a TcxBarEditItem element linked to a TdxRichEditControlChangePageColor action object, use the sdxRichEditCommandChangePageColorMenuCaption and sdxRichEditCommandChangePageColorDescription resource strings, respectively.

See Also