IReportManagerServiceExtensions.ShowReport(IReportManagerService, ReportInfo, Boolean, Boolean) Method

Static extension method that shows the specified report in the Report Designer.

Namespace: DevExpress.Xpf.Reports.UserDesigner.Extensions

Assembly: DevExpress.Xpf.ReportDesigner.v21.2.dll

Declaration

public static void ShowReport(
    this IReportManagerService self,
    ReportInfo info,
    bool forcePreview = false,
    bool forceEdit = false
)

Parameters

Name Type Description
self IReportManagerService

The type the static extension method operates with.

info ReportInfo

An object specifying the report.

Optional Parameters

Name Type Default Description
forcePreview Boolean

False

True, to show the report in the Report Designer‘s preview mode; otherwise, either in the default or in the edit mode.

forceEdit Boolean

False

True, to show the report in the Report Designer‘s edit mode; otherwise, either in the default or in the preview mode.

See Also