New to Telerik UI for WPF? Start a free 30-day trial
Table of Contents Dialog
Updated on Sep 15, 2025
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
C#
this.richTextBox.Commands.ShowInsertTableOfContentsDialogCommand.Execute(null);
Alternatively, call the ShowInsertTableOfContentsDialog method of RadRichTextBox.
Using the show dialog method
C#
this.richTextBox.ShowInsertTableOfContentsDialog();