TdxRichEditControlChangeFontName Class
An action object that corresponds to the ChangeFontName command provided by the Rich Edit control.
Declaration
TdxRichEditControlChangeFontName = class(
TdxRichEditControlStringValueAction,
IdxActionFontNameValue
)
Remarks
The TdxRichEditControlChangeFontName class does not introduce any new public members. This action object is designed to be used in a Ribbon or Toolbar UI by a TcxFontNameComboBox item control.
A font typeface picked by using a TcxFontNameComboBox UI element is automatically applied to all text selections in the current document.
UI elements linked to a TdxRichEditControlChangeFontColor 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.DocumentCapability.CharacterFormatting property is set to TdxDocumentCapability.Default or TdxDocumentCapability.Enabled.
To localize the caption and hint displayed by a TcxBarEditItem UI element linked to a TdxRichEditControlChangeFontName action object, use the sdxRichEditCommandChangeFontNameMenuCaption and sdxRichEditCommandChangeFontNameDescription resource strings, respectively.