SnapControl.SnapMailMergeActiveRecordChanged Event

Occurs after traversing to the next data record in a mail merge data source.

Namespace: DevExpress.Snap

Assembly: DevExpress.Snap.v20.1.dll


public event EventHandler SnapMailMergeActiveRecordChanged
Public Event SnapMailMergeActiveRecordChanged As EventHandler

Event Data

The SnapMailMergeActiveRecordChanged event's data class is EventArgs.


When a mail merge is performed in the user interface, the SnapMailMergeActiveRecordChanged event can be raised asynchronously, requiring use of the SnapControl's InvokeRequired property in the event handler to determine if it is necessary to call the SnapControl.Invoke method to execute a delegate in a thread that owns the control.

void snapControl1_SnapMailMergeActiveRecordChanged(object sender, EventArgs e)
    Action d = delegate {
        // Add a method to handle the event.
    if (this.snapControl1.InvokeRequired)
See Also