Occurs before the Insert Merge Field dialog is invoked.
public event InsertMergeFieldFormShowingEventHandler InsertMergeFieldFormShowing
Public Event InsertMergeFieldFormShowing As InsertMergeFieldFormShowingEventHandler
The InsertMergeFieldFormShowing event's data class is InsertMergeFieldFormShowingEventArgs. The following properties provide information specific to this event:
|ControllerParameters||Gets the information for initializing the Insert Merge Field dialog controls.|
|DialogResult||Gets or sets the return value of a dialog box. Inherited from ShowFormEventArgs.|
|Handled||Gets or sets whether an event was handled. If it was handled, the default actions are not required. Inherited from ShowFormEventArgs.|
|Parent||Gets or sets a parent of the form being shown. Inherited from ShowFormEventArgs.|
Handle the InsertMergeFieldFormShowing event to perform any actions prior to the Insert Merge Field dialog being shown. For example, you can substitute the standard dialog with a custom one, and set the ShowFormEventArgs.Handled property to true to prevent default event handling.