Skip to main content

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

IReportManagerServiceExtensions.ShowReport(IReportManagerService, XtraReport, 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.v24.2.dll

NuGet Package: DevExpress.Wpf.Reporting

#Declaration

public static void ShowReport(
    this IReportManagerService self,
    XtraReport report,
    bool forcePreview = false,
    bool forceEdit = false
)

#Parameters

Name Type Description
self IReportManagerService

The type the static extension method operates with.

report XtraReport

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