Back to Devexpress

XtraReportDesignerExtensions.ShowRibbonDesigner(XtraReport) Method

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

latest3.0 KB
Original Source

XtraReportDesignerExtensions.ShowRibbonDesigner(XtraReport) Method

Invokes the ribbon-based 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 ShowRibbonDesigner(
    this XtraReport report
)
vb
<ExtensionAttribute>
Public Shared Sub ShowRibbonDesigner(
    report As XtraReport
)

Parameters

NameTypeDescription
reportXtraReport

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

|

Remarks

Call the ShowRibbonDesigner method to open the report in the default Report Designer form with a Ribbon 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.ShowRibbonDesigner();
vb
Imports DevExpress.XtraReports.UI
' ...

Dim report As XtraReport1 = New XtraReport1
report.ShowRibbonDesigner

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

See Also

XtraReportDesignerExtensions Class

XtraReportDesignerExtensions Members

DevExpress.XtraReports.UI Namespace