Bug Report T298740
Visible to All Users

WPF Report Designer - How to attach a Backstage View to the Ribbon

created 9 years ago

I have attached a solution, I am trying to add a backstage to my report designer, however, the control is on behind the designer so is not showing correctly

Answers approved by DevExpress Support

created 9 years ago

We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

    created 9 years ago

    Hello Tom,
    From what I gather, you want to substitute the default WPF Report Designer's application menu with the Backstage View. To achieve this, customize the ApplicationMenu through the ribbon template. You will find it here:
    C:\Program Files (x86)\DevExpress 15.1\Components\Sources\DevExpress.Xpf.ReportDesigner\DevExpress.Xpf.WpfReportDesigner\Themes\RibbonTemplate.xaml.
    Please check the attached sample application and let me know if I can be of further help.

    Regards

      Show previous comments (2)
      DevExpress Support Team 9 years ago

        Hello Tom,
        Just want to follow up with you: our developers have fixed this issue so BackstageViewControl takes the entire window area. You are welcome to test our changes once a hotfix or official release is available and leave your feedback.

        Take special note of the BackstageViewControl.IsFullScreen option, which sets whether or not the control occupies the entire client area of the application window.

        Thanks

          HI, I have Implemented the hotfix now, however, I have found that there is no datacontext to the backstage so I am unable to bind via element name or relative source to my view model.

          DevExpress Support Team 9 years ago

            Hello,

            To process your recent post more efficiently, I created a separate ticket on your behalf: T304371: How to bind datacontext with backstage via element name or relative source to my view model?. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.

            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.