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

Moves the mail merge data source to its first record and refreshes document fields for that record.

Definition

Constructors

Creates a command that previews the first mail merge record in the specified editor.

C#
public PreviewFirstMailMergeDataRecordCommand(RadRichTextBox editor)
Parameters:editorRadRichTextBox

The editor whose mail merge data source and fields are used.

Methods

Moves to the first record and updates the document fields; the command parameter is not used.

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

Not used; the destination is the first record.

Overrides: RichTextBoxCommandBase.ExecuteOverride(object)