New to Telerik UI for WinForms? Start a free 30-day trial

Opens the table-of-contents dialog for the associated rich text box.

Definition

Constructors

Creates a command associated with the specified rich text box.

C#
public ShowInsertTableOfContentsDialogCommand(RadRichTextBox editor)
Parameters:editorRadRichTextBox

The editor whose table-of-contents dialog is opened.

Properties

Leaves focus handling to the dialog instead of restoring the document caret after execution.

C#
protected override bool ShouldFocusCaretAfterExecute { get; }

Overrides: RichTextBoxCommandBase.ShouldFocusCaretAfterExecute

Methods

Shows the associated editor's table-of-contents dialog.

C#
protected override void ExecuteOverride(object parameter)
Parameters:parameterobject

Overrides: RichTextBoxCommandBase.ExecuteOverride(object)