TdxRichEditControlTextHighlight Class
An action object that corresponds to the TextHighlight command provided by the Rich Edit control.
Declaration
TdxRichEditControlTextHighlight = class(
TdxRichEditControlAlphaColorValueAction,
IdxActionColorValue
)
Remarks
The TdxRichEditControlTextHighlight
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 highlights all text selections in the current document.
UI elements linked to a TdxRichEditControlTextHighlight
action object are enabled only if the following conditions are met:
- The current document is not opened in read-only mode (i.e., the Rich Edit control’s ReadOnly property is set to
False
). - The text font customization functionality is enabled (i.e., the Rich Edit control’s Options.DocumentCapabilities.CharacterFormatting property is set to TdxDocumentCapability.Default or TdxDocumentCapability.Enabled.
Implements
Inheritance
See Also