New to Telerik UI for WinForms? Start a free 30-day trial

Represents a UI-friendly command for inserting a line numbering.

Definition

Constructors

Initializes a new instance of the InsertLineNumberingCommand type.

C#
public InsertLineNumberingCommand(RadRichTextBox editor)
Parameters:editorRadRichTextBox

The associated editor

Methods

Sets the line-numbering restart type for the current sections or removes their line numbering.

C#
protected override void ExecuteOverride(object parameter)
Parameters:parameterobject

A defined LineNumberingRestartType value or parser-accepted string; the string None removes line numbering.

Overrides: RichTextBoxCommandBase.ExecuteOverride(object)