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

Inserts a page-number field at the caret and displays its result.

Definition

Constructors

Creates a command that inserts page-number fields into the specified editor.

C#
public InsertPageFieldCommand(RadRichTextBox editor)
Parameters:editorRadRichTextBox

The editor where the page-number field is inserted.

Methods

Inserts the supplied page field in result mode, or creates a new page field when the parameter is not a PageField.

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

An optional PageField to insert.

Overrides: InsertFieldCommand.ExecuteOverride(object)