Back to Devexpress

TdxRichEditControlTableOfContentsSetParagraphHeading2Level Class

vcl-dxrichedit-dot-actions-dot-tdxricheditcontroltableofcontentssetparagraphheading2level.md

latest2.9 KB
Original Source

TdxRichEditControlTableOfContentsSetParagraphHeading2Level Class

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

Declaration

delphi
TdxRichEditControlTableOfContentsSetParagraphHeading2Level = class(
    TdxRichEditControlAction
)

Remarks

This class does not introduce any new public members. Executing a TdxRichEditControlTableOfContentsSetParagraphHeading2Level action object applies the Heading 2 style to all selected paragraphs or the paragraph in which the caret (or text selection) is currently located. In order to return the default style to the current (selected) paragraph(s), use the TableOfContentsSetParagraphBodyTextLevel command.

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

Inheritance

TObject TPersistent TComponent TBasicAction TContainedAction TCustomAction TAction TdxBasicAction TdxRichEditControlAction TdxRichEditControlTableOfContentsSetParagraphHeading2Level

See Also

TdxRichEditControlTableOfContentsSetParagraphHeading2Level Members

dxRichEdit.Actions Unit