Back to Devexpress

TdxRichEditControlUpdateTableOfContents Class

vcl-dxrichedit-dot-actions-79aebbe2.md

latest2.6 KB
Original Source

TdxRichEditControlUpdateTableOfContents Class

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

Declaration

delphi
TdxRichEditControlUpdateTableOfContents = class(
    TdxRichEditControlAction
)

Remarks

This class does not introduce any new public members. A table of contents is based on the text paragraphs to which the Heading 1, Heading 2, etc. styles are applied. Modifying one of these paragraphs does not automatically change the table of contents. Executing a TdxRichEditControlUpdateTableOfContents action object updates a table of contents (i.e., a TOC document field) in which the caret or text selection is currently located.

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

Inheritance

TObject TPersistent TComponent TBasicAction TContainedAction TCustomAction TAction TdxBasicAction TdxRichEditControlAction TdxRichEditControlUpdateTableOfContents

See Also

TdxRichEditControlUpdateTableOfFigures

TdxRichEditControlUpdateField

TdxRichEditControlUpdateTableOfContents Members

dxRichEdit.Actions Unit