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

Inserts a line break at the caret without starting a new paragraph.

Definition

Constructors

Initializes the command for the specified editor.

C#
public InsertLineBreakCommand(RadRichTextBox editor)
Parameters:editorRadRichTextBox

The editor whose document receives the line break.

Properties

Marks line-break insertion as an operation that may replace selected content for protected-range permission checks.

C#
protected override bool IsDeletingCommand { get; }

Overrides: RichTextBoxCommandBase.IsDeletingCommand

Methods

Inserts a line break at the caret.

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

Not used by this command.

Overrides: RichTextBoxCommandBase.ExecuteOverride(object)