ReportDataSourceHelper.BeforeShowPreview Event

Occurs when the ReportDataSourceHelper.SetupBeforePrint method is executed.

Namespace: DevExpress.ExpressApp.ReportsV2

Assembly: DevExpress.ExpressApp.ReportsV2.v18.2.dll

Declaration

public event EventHandler<BeforeShowPreviewEventArgs> BeforeShowPreview
Public Event BeforeShowPreview As EventHandler(Of BeforeShowPreviewEventArgs)

The BeforeShowPreview event handler receives an argument of the DevExpress.ExpressApp.ReportsV2.BeforeShowPreviewEventArgs type.

Handle this event to modify the report content before it is displayed. For instance, you can merge two reports immediately before they are displayed. An example is provided in the How to: Merge the Pages of Two Reports topic.

See Also