Provides extension methods that enable you to load a report in an End-User WinForms Report Designer.
public static class XtraReportDesignerExtensions
Public Module XtraReportDesignerExtensions
Use the XtraReportDesignerExtensions class's methods to load a report into one of the default End-User Report Designer forms.
- The XtraReportDesignerExtensions.ShowRibbonDesigner and XtraReportDesignerExtensions.ShowRibbonDesignerDialog methods show a form with a Ribbon Toolbar.
- The XtraReportDesignerExtensions.ShowDesigner and XtraReportDesignerExtensions.ShowDesignerDialog methods show a form with a Standard Toolbar.
To be able to use these methods, you should add the DevExpress.XtraReports.v18.2.Extensions.dll to your project's References list.
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).