New to Telerik UI for WPF? Start a free 30-day trial
Line Numbers Dialog
Updated on Sep 15, 2025
This dialog allows you to adjust the line numbering in the document.

The dialog can be opened from the Line Numbers drop down button in the Page Layout tab of the RadRichTextBoxRibbonUI.

Showing the Dialog Manually
The dialog can be shown by executing the ShowLineNumberingDialogCommand. See how to bind the command to an external button in the Commands article.
Executing the show dialog command
C#
this.richTextBox.Commands.ShowLineNumberingDialogCommand.Execute(null);
Alternatively, call the ShowInsertHyperlinkDialog method of RadRichTextBox.
Using the show dialog method
C#
this.richTextBox.ShowLineNumberingDialog();