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

ReportServiceController.CustomShowPreview Event

Occurs when the Preview Report window is displayed.

Namespace: DevExpress.ExpressApp.ReportsV2

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


public event EventHandler<CustomShowPreviewEventArgs> CustomShowPreview

Event Data

The CustomShowPreview event's data class is CustomShowPreviewEventArgs. The following properties provide information specific to this event:

Property Description
CanApplyCriteria Gets whether or not the criteria can be applied.
CanApplySortProperty Gets whether or not sorting can be applied.
Criteria Gets the criteria applied to data.
Handled Gets or sets a value that indicates whether the event handler has completely handled the event or whether the system should continue its own processing. Inherited from HandledEventArgs.
ParametersObject Gets the report parameters object.
ReportContainerHandle Gets the handle of the ReportContainer object.
ShowViewParameters Gets a set of parameters used to display a new Detail View with report preview.
SortProperty Gets the sorting applied to data.


Handle this event to display the report preview in a custom form. An example is provided in the How to: Use the Custom Report Preview Form.

See Also