Ticket T293278
Visible to All Users

TabbedView - Merge ribbons when a document is docked and unmerge them when the document is floating

created 9 years ago

Hi

When I add a floating document, I would like to have the ribbon unmerged. When it is docked, I would like it to be merged. I've added an example. The ribbon is always merged or unmerged. For my understandings, when I set MdiMergeStyle to Only Maximized, it should be merged when docked and unmerged when floating.

May you add the functionality to my sample project?

Thanks
Roger

Comments (1)
DevExpress Support Team 9 years ago

    Hello,
    To accomplish this task, I suggest you use the approach from the How to merge UserControl Ribbon with main form Ribbon when Document is docked to TabbedView and unmerge it when Document is floating ticket. Please test it and let us know your results.
    In addition, we'll discuss this functionality with our developers. Perhaps, it is possible to implement it out of the box.

    Answers approved by DevExpress Support

    created 9 years ago

    We have implemented the functionality described in this ticket. It will be included in our next update(s).

    Please check back and leave a comment to this response to let us know whether or not this solution addresses your concerns.

    Additional information:

    We have implemented this capability. To accomplish your task, please set the value of the DocumentManager.RibbonAndBarsMergeStyle property to WhenNotFloating mode and set value of RibbonControl.MdiMergeStyle property to Always mode.

      Show previous comments (2)

        This worked great for us with "WhenNotFloating" and "Always". Then we updatet to 15.1.9 some time ago and now I realized that it is not working anymore. Ribbons are merged, but as soon as a document is floating, the document's ribbon disappears completely from both, the main and child form. Did anything change in the configuration?
        It works with a simple demo, but not with our converted project.

          DocumentManager's ContainerControl property was not set to the mainform (but I don't know why this happened). All working again.

          Andrew Ser (DevExpress Support) 9 years ago

            Hello Nico,
            Thank you for keeping us informed. We're happy to hear that you have resolved this issue.
            Please feel free to contact us if you have any 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.