New to Telerik UI for WPF? Download free 30-day trial

Line Numbers Dialog

This dialog allows you to adjust the line numbering in the document.

An image showing the line numbering dialog of RadRichTextBox for WPF

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

An image showing the button that opens the line numbering dialog of RadRichTextBox for WPF

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

this.richTextBox.Commands.ShowLineNumberingDialogCommand.Execute(null); 
Alternatively, call the ShowInsertHyperlinkDialog method of RadRichTextBox.

Using the show dialog method

this.richTextBox.ShowLineNumberingDialog(); 
In this article