Back to Devexpress

XtraReportDesignerExtensions.ShowDesigner(XtraReport) Method

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

latest2.9 KB
Original Source

XtraReportDesignerExtensions.ShowDesigner(XtraReport) Method

Invokes the standard End-User Report Designer form which allows 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 ShowDesigner(
    this XtraReport report
)
vb
<ExtensionAttribute>
Public Shared Sub ShowDesigner(
    report As XtraReport
)

Parameters

NameTypeDescription
reportXtraReport

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

|

Remarks

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

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.ShowDesigner();
vb
Imports DevExpress.XtraReports.UI
' ...

Dim report As XtraReport1 = New XtraReport1
report.ShowDesigner

We recommend you use the ReportDesignTool class instead, which provides the similar ReportDesignTool.ShowDesigner 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 ShowDesigner method in Web applications. Use the Web Report Designer instead.

See Also

XtraReportDesignerExtensions Class

XtraReportDesignerExtensions Members

DevExpress.XtraReports.UI Namespace