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

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.v18.2.Extensions.dll

Declaration

public static class XtraReportDesignerExtensions
Public Module 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.v18.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