Ticket T1287197
Visible to All Users

How to add a custom element to the end user report designer using the XRDesignMdiController toolbox control

created 12 days ago

I am investigating whether the End User Report Designer is suitable for creating custom reports using inputs from the rest of our application. This requires creating custom elements for the report. As such I am creating a control that utilises the XRDesignMdiController toolbox control.

I am trying to follow this guide https://docs.devexpress.com/XtraReports/7546/desktop-reporting/winforms-reporting/end-user-report-designer-for-winforms/api-and-customization/add-custom-control-to-the-end-user-report-designers-toolbox#create-a-project-and-custom-control but it seems to be based off the ReportDesignTool. I am unable to find to the IDesignForm control to subscribe to the DesignMdiController.DesignPanelLoaded event.

I have attached a sample project of what I have done. Is there a way to create custom elements using the XRDesignMdiController toolbox control?

Answers approved by DevExpress Support

created 12 days ago

Hello Marc,

You can simply handle the reportDesigner1.DesignPanelLoaded event. I've attached the modified project for your reference.

Regards,
Denis

    Comments (2)

      Thank you, that works as expected now.

      D D
      Denis (DevExpress Support) 10 days ago

        You're welcome, Marc. Feel free to reach out if you have any further questions.

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.