Back to Devexpress

ReportDesignTool.DesignRibbonForm Property

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-reportdesigntool-16754453.md

latest3.4 KB
Original Source

ReportDesignTool.DesignRibbonForm Property

Provides access to the ribbon-based End-User Report Designer form of the ReportDesignTool.

Namespace : DevExpress.XtraReports.UI

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

NuGet Package : DevExpress.Win.Reporting

Declaration

csharp
public IDesignForm DesignRibbonForm { get; }
vb
Public ReadOnly Property DesignRibbonForm As IDesignForm

Property Value

TypeDescription
IDesignForm

An object implementing the IDesignForm interface (typically, an XRDesignRibbonForm instance).

|

Remarks

To learn more, see Create a Custom End-User Report Designer.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DesignRibbonForm property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-reporting-create-a-custom-script-editor-designer/CS/Program.cs#L20

csharp
using(var tool = new ReportDesignTool(report)) {
    var form = tool.DesignRibbonForm;
    form.DesignMdiController.AddService(typeof(DevExpress.XtraReports.Design.IScriptEditorService), new ScriptEditorService());

winforms-reporting-create-a-custom-script-editor-designer/VB/Program.vb#L20

vb
Using tool = New ReportDesignTool(report)
    Dim form = tool.DesignRibbonForm
    form.DesignMdiController.AddService(GetType(DevExpress.XtraReports.Design.IScriptEditorService), New ScriptEditorService())

See Also

Create a Custom End-User Report Designer

ReportDesignTool Class

ReportDesignTool Members

DevExpress.XtraReports.UI Namespace