Back to Devexpress

XtraReportDesignerExtensions.ShowDesignerDialog(XtraReport) Method

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xtrareportdesignerextensions-dot-showdesignerdialog-x28-devexpress-dot-xtrareports-dot-ui-dot-xtrareport-x29.md

latest3.0 KB
Original Source

XtraReportDesignerExtensions.ShowDesignerDialog(XtraReport) Method

Invokes the standard End-User Report Designer form modally to allow end-users to edit the report.

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.Extensions.dll

NuGet Package : DevExpress.Win.Reporting

Declaration

csharp
public static void ShowDesignerDialog(
    this XtraReport report
)
vb
<ExtensionAttribute>
Public Shared Sub ShowDesignerDialog(
    report As XtraReport
)

Parameters

NameTypeDescription
reportXtraReport

A report to open in the End-User Report Designer.

|

Remarks

Call the ShowDesignerDialog method to open the report in the default End-User Report Designer with a Standard Toolbar modally.

To be able to use this method, you should add the DevExpress.XtraReports.v25.2.Extensions.dll to your project’s References list.

csharp
using DevExpress.XtraReports.UI;
// ...

XtraReport1 report = new XtraReport1();
report.ShowDesignerDialog();
vb
Imports DevExpress.XtraReports.UI
' ...

Dim report As XtraReport1 = New XtraReport1
report.ShowDesignerDialog

We recommend you use the ReportDesignTool class instead, which provides the similar ReportDesignTool.ShowDesignerDialog method and additionally allows you to customize the Report Designer form. This class also enables you to release the memory right after showing this form (for instance, by calling the Dispose method or utilizing the using statement).

Note

You cannot use the ShowDesignerDialog method in Web applications. Use the Web Report Designer instead.

See Also

XtraReportDesignerExtensions Class

XtraReportDesignerExtensions Members

DevExpress.XtraReports.UI Namespace