Skip to main content
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ReportServiceController.CustomShowPreview Event

Occurs when the Preview Report window is displayed.

Namespace: DevExpress.ExpressApp.ReportsV2

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

#Declaration

[Browsable(false)]
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.

#Remarks

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