Back to Devexpress

ReportsControllerCore Class

expressappframework-devexpress-dot-expressapp-dot-reportsv2-5a1313b1.md

latest3.8 KB
Original Source

ReportsControllerCore Class

An ObjectViewController that provides the ReportsControllerCore.ExecuteReportAction used to execute reports.

Namespace : DevExpress.ExpressApp.ReportsV2

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

NuGet Package : DevExpress.ExpressApp.ReportsV2

Declaration

csharp
public abstract class ReportsControllerCore :
    ReportDataViewController
vb
Public MustInherit Class ReportsControllerCore
    Inherits ReportDataViewController

Remarks

Activated in List Views that display IReportDataV2 objects.

The ReportsControllerCore.ExecuteReportAction introduced in this abstract Controller is initialized in the WinForms-specific descendant - WinReportsController.

ReportsControllerCore modifies the default behavior of the ListViewProcessCurrentObjectController. It handles the ListViewProcessCurrentObjectController.CustomProcessSelectedItem event in order to execute the current report when a report object is clicked in List View instead of opening the report data Detail View.

ReportsControllerCore contains the protected virtual ShowReportPreview method that displays the preview of the selected report. This method is called on executing the ReportsControllerCore.ExecuteReportAction. Internally, this method calls the ReportServiceController.ShowPreview method of the ReportServiceController Controller.

Implements

ISupportUpdate

Inheritance

Object MarshalByRefObject Component Controller ViewController ViewController<ListView> ObjectViewController<ListView, IReportDataV2> DevExpress.ExpressApp.ReportsV2.ReportDataViewController ReportsControllerCore WinReportsController

See Also

ReportsControllerCore Members

DevExpress.ExpressApp.ReportsV2 Namespace