Moves the mail merge data source to its first record and refreshes document fields for that record.
Definition
Namespace:Telerik.WinForms.Documents.RichTextBoxCommands
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public class PreviewFirstMailMergeDataRecordCommand : MailMergeDataSourceContextCommandBase, ICommand
Inheritance: objectRichTextBoxCommandBaseMailMergeDataSourceContextCommandBasePreviewFirstMailMergeDataRecordCommand
Implements:
Inherited Members
Constructors
Creates a command that previews the first mail merge record in the specified editor.
C#
public PreviewFirstMailMergeDataRecordCommand(RadRichTextBox editor)
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)
Not used; the destination is the first record.
Overrides: