Skip to main content
A newer version of this page is available. .

XtraReportDesignerExtensions Class

Provides extension methods that enable you to load a report in an End-User WinForms Report Designer.

Namespace: DevExpress.XtraReports.UI

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

NuGet Package: DevExpress.Win.Reporting

Declaration

public static class XtraReportDesignerExtensions

Remarks

Use the XtraReportDesignerExtensions class’s methods to load a report into one of the default End-User Report Designer forms.

To be able to use these methods, you should add the DevExpress.XtraReports.v19.2.Extensions.dll to your project’s References list.

Note

You cannot use the XtraReportDesignerExtensions class methods in Web applications. Use the Web Report Desinger instead.

The following example demonstrates how to invoke the ribbon-based 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.ShowRibbonDesignerDialog(UserLookAndFeel.Default, DesignDockPanelType.PropertyGrid 
    |DesignDockPanelType.ReportExplorer);

We recommend you use the ReportDesignTool class instead, which provides the same methods to show Report Designer forms, but additionally allows you to customize them. This class also enables you to release the memory right after showing these forms (for instance, by calling the Dispose method or utilizing the using statement).

Inheritance

Object
XtraReportDesignerExtensions
See Also