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
Namespace:Telerik.WinForms.Documents.RichTextBoxCommands
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public class InsertPageBreakCommand : RichTextBoxCommandBase, ICommand
Inheritance: objectRichTextBoxCommandBaseInsertPageBreakCommand
Implements:
Inherited Members
Constructors
Initializes the command for the specified editor.
C#
public InsertPageBreakCommand(RadRichTextBox editor)
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:
Limits this command to document-body content.
C#
protected override CommandTargets SupportedTargets { get; }
Overrides:
Methods
Inserts the page break and following document newline.
C#
protected override void ExecuteOverride(object parameter)
Not used by this command.
Overrides: