New to Telerik UI for WPFStart 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.

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

C#
	this.richTextBox.Commands.ShowLineNumberingDialogCommand.Execute(null);

Alternatively, call the ShowInsertHyperlinkDialog method of RadRichTextBox.

Using the show dialog method

C#
	this.richTextBox.ShowLineNumberingDialog();
In this article
Showing the Dialog Manually
Not finding the help you need?
Contact Support