XtraReportDesignerExtensions.ShowDesignerDialog(XtraReport, UserLookAndFeel) Method
Invokes the standard End-User Report Designer form modally with the specified look and feel settings to allow end-users to edit the report.
public static void ShowDesignerDialog( this XtraReport report, UserLookAndFeel lookAndFeel )
<ExtensionAttribute> Public Shared Sub ShowDesignerDialog( report As XtraReport, lookAndFeel As UserLookAndFeel )
A report to open in the End-User Report Designer.
A UserLookAndFeel object which specifies the look and feel settings applied to the End-User Report Designer.
Call the ShowDesignerDialog method to open the report in the default Report Designer form with a Standard Toolbar modally.
To be able to use this method, you should add the DevExpress.XtraReports.v19.2.Extensions.dll to your project's References list.
The following example demonstrates how to invoke the Report Designer modally with custom look and feel settings.
using DevExpress.XtraReports.UI; using DevExpress.LookAndFeel; using DevExpress.XtraReports.UserDesigner; // ... XtraReport1 report = new XtraReport1(); UserLookAndFeel myLookAndFeel = new UserLookAndFeel(report); myLookAndFeel.SkinName = "Office 2016 Colorful"; myLookAndFeel.UseDefaultLookAndFeel = false; report.ShowDesignerDialog(myLookAndFeel);
We recommend you use the ReportDesignTool class instead, which provides the similar ReportDesignTool.ShowDesignerDialog 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).
You cannot use the ShowDesignerDialog method in Web applications. Use the Web Report Designer instead.