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

Restarts list numbering from the caret paragraph or, when text is selected, the first selected paragraph.

Definition

Constructors

Initializes the command for the specified editor.

C#
public RestartNumberingCommand(RadRichTextBox radRichTextBox)
Parameters:radRichTextBoxRadRichTextBox

The rich text box whose current list numbering this command changes.

Methods

Attempts to start a new list at the caret paragraph or the first selected paragraph. The command's availability check validates that the caret paragraph is in a list, but does not validate the first selected paragraph.

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

Unused.

Overrides: RichTextBoxCommandBase.ExecuteOverride(object)