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

Inserts a page break followed by a document newline as a single undoable operation; inside a table, the editor inserts a paragraph instead of a page break.

Definition

Constructors

Initializes the command for the specified editor.

C#
public InsertPageBreakCommand(RadRichTextBox editor)
Parameters:editorRadRichTextBox

The editor whose document receives the break.

Properties

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

C#
protected override bool IsDeletingCommand { get; }

Overrides: RichTextBoxCommandBase.IsDeletingCommand

Limits this command to document-body content.

C#
protected override CommandTargets SupportedTargets { get; }

Overrides: RichTextBoxCommandBase.SupportedTargets

Methods

Inserts the page break and following document newline.

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

Not used by this command.

Overrides: RichTextBoxCommandBase.ExecuteOverride(object)