The requested page is not available for the requested platform. You are viewing the content for Default platform.

XtraReportDesignerExtensions.ShowRibbonDesigner(XtraReport, UserLookAndFeel, DesignDockPanelType) Method

Invokes the ribbon-based End-User Report Designer form with the specified look and feel settings and design panel visibility settings.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.1.Extensions.dll

Declaration

public static void ShowRibbonDesigner(
    this XtraReport report,
    UserLookAndFeel lookAndFeel,
    DesignDockPanelType hiddenPanels
)
<ExtensionAttribute>
Public Shared Sub ShowRibbonDesigner(
    report As XtraReport,
    lookAndFeel As UserLookAndFeel,
    hiddenPanels As DesignDockPanelType
)

Parameters

Name Type Description
report XtraReport

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

lookAndFeel UserLookAndFeel

A UserLookAndFeel object which specifies the look and feel settings applied to the End-User Report Designer.

hiddenPanels DesignDockPanelType

One or more DesignDockPanelType enumeration values identifying the Report Designer dock panels to be hidden.

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.v19.1.Extensions.dll to your project's References list.

The following example demonstrates how to invoke the Report Designer with the default look and feel settings and without the Property Grid and Report Explorer panels.

using DevExpress.XtraReports.UI;
using DevExpress.LookAndFeel;
using DevExpress.XtraReports.UserDesigner;
// ...

XtraReport1 report = new XtraReport1();
report.ShowRibbonDesigner(UserLookAndFeel.Default, DesignDockPanelType.PropertyGrid 
    |DesignDockPanelType.ReportExplorer);

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