Skip to main content
A newer version of this page is available. .

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.v20.2.dll

NuGet Package: DevExpress.Wpf.Reporting

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