MailMergeCommand
Opens a save dialog, creates a merged document for all mail merge records, and exports it when the dialog is accepted.
Definition
Namespace:Telerik.WinForms.Documents.RichTextBoxCommands
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class MailMergeCommand : MailMergeDataSourceContextCommandBase, ICommand
Inheritance: objectRichTextBoxCommandBaseMailMergeDataSourceContextCommandBaseMailMergeCommand
Implements:
Inherited Members
Constructors
Creates a command that exports mail merge results from the specified editor.
public MailMergeCommand(RadRichTextBox editor)
The editor whose document and mail merge data source are used.
Properties
Methods
Prompts for an export destination, then generates and saves the merged document if the dialog is accepted.
protected override void ExecuteOverride(object parameter)
An optional format filter: a string containing | is used as the complete dialog filter; otherwise comma- or semicolon-separated extensions restrict available export formats.
Overrides: