Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.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.v24.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 Properties window 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