Table of Contents Dialog
This dialog allows you to insert a table of contents in the document.
The dialog can be opened from the Table of Contents button in the References tab of the RadRichTextBoxRibbonUI.
Showing the Dialog Manually
The dialog can be shown by executing the ShowInsertTableOfContentsDialogCommand
. See how to bind the command to an external button in the Commands article.
Executing the show dialog command
this.richTextBox.Commands.ShowInsertTableOfContentsDialogCommand.Execute(null);
ShowInsertTableOfContentsDialog
method of RadRichTextBox
.
Using the show dialog method
this.richTextBox.ShowInsertTableOfContentsDialog();