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

Deletes selected content or content adjacent to the caret; backward deletion at a paragraph start may remove list membership or indentation instead.

Definition

Constructors

Initializes the command for the specified editor.

C#
public DeleteCommand(RadRichTextBox radRichTextBox)
Parameters:radRichTextBoxRadRichTextBox

The editor whose selected or adjacent content can be deleted.

Properties

Marks deletion as a content-removing operation for protected-range permission checks.

C#
protected override bool IsDeletingCommand { get; }

Overrides: RichTextBoxCommandBase.IsDeletingCommand

Methods

Deletes selected or adjacent content, or applies the special backward-delete behavior at paragraph starts.

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

true for backward deletion; false for forward deletion.

Overrides: RichTextBoxCommandBase.ExecuteOverride(object)