.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

ReportDataSourceHelper.BeforeShowPreview Event

Occurs when the ReportDataSourceHelper.SetupBeforePrint method is executed.

Namespace: DevExpress.ExpressApp.ReportsV2

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


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

Event Data

The BeforeShowPreview event's data class is DevExpress.ExpressApp.ReportsV2.BeforeShowPreviewEventArgs.


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