Back to Devexpress

TdxRichEditControlToggleFontBold Class

vcl-dxrichedit-dot-actions-9742b5d1.md

latest3.1 KB
Original Source

TdxRichEditControlToggleFontBold Class

An action object that corresponds to the ToggleFontBold command in the Rich Edit control.

Declaration

delphi
TdxRichEditControlToggleFontBold = class(
    TdxRichEditControlAction
)

Remarks

This class does not introduce any new public members. Executing a TdxRichEditControlToggleFontBold action object applies/removes the Bold font attribute to/from:

  • The text selection(s) in a document (including text selected within a text box or table).
  • The edited word (i.e., the word in which the caret is currently located).
  • The currently used font (if no text is selected, and the caret is not located within a word).

The state of UI elements linked to a TdxRichEditControlToggleFontBold action object is determined by the Rich Edit control’s Options.DocumentCapabilities.CharacterFormatting property value. Refer to the TdxDocumentCapability type description for the full list of available command states.

Inheritance

TObject TPersistent TComponent TBasicAction TContainedAction TCustomAction TAction TdxBasicAction TdxRichEditControlAction TdxRichEditControlToggleFontBold

See Also

TdxRichEditControlToggleFontDoubleStrikeout Class

TdxRichEditControlToggleFontDoubleUnderline Class

TdxRichEditControlToggleFontItalic Class

TdxRichEditControlToggleFontStrikeout Class

TdxRichEditControlToggleFontSubscript Class

TdxRichEditControlToggleFontSuperscript Class

TdxRichEditControlToggleFontUnderline Class

TdxRichEditControlToggleFontBold Members

dxRichEdit.Actions Unit