Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.47 KB

line-numbering-dialog.md

File metadata and controls

35 lines (25 loc) · 1.47 KB
title page_title description slug tags published position
Line Numbers Dialog
Line Numbering Dialog
Check our "Line Numbers Dialog" documentation article for the RadRichTextBox WPF control.
richtextbox-dialogs-line-numbers
line,numbers,numbering
true
1

Line Numbers Dialog

This dialog allows you to adjust the [line numbering]({%slug radrichtextbox-features-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]({%slug radrichtextbox-features-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]({%slug radrichtextbox-features-commands%}) article.

[C#] Executing the show dialog command

{{region richtextbox-dialogs-line-numbers-0}} this.richTextBox.Commands.ShowLineNumberingDialogCommand.Execute(null); {{endregion}}

Alternatively, call the ShowInsertHyperlinkDialog method of RadRichTextBox.

[C#] Using the show dialog method

{{region richtextbox-dialogs-line-numbers-1}} this.richTextBox.ShowLineNumberingDialog(); {{endregion}}