Bug Report T866166
Visible to All Users

Fluent Design Form - How to extend Hamburger Menu to the form's title bar when the EnableAcrylicAccent property is disabled

created 5 years ago (modified 5 years ago)

[DevExpress Support Team: CLONED FROM T859095: bad behavior with Fluent form]

Please see the attached sample, based on your sample where I did some modifications.

  1. I would like use Fluent form as Main Form and where I can add dynamically the main Menu ( is done in my app).
  2. I would like to use Fluent Form always in mode overlay, hamburger menu always collapsed. ( with the code in attached sample it works good).
  3. When I click on the hamburger menu icon, it expand but when i click outside of the hamburger menu, it collapse automatically (what I have works good).
  4. Finally, I want the hamburger menu collapsed and outside of the main form, It looks that the MainMenu is for entire app. If the mainMenu is inside of the Mainform it looks that the mainMenu belongs to active form. This is small thing that in my opinion makes big difference.
  5. If I use the EnableAcrylicAccent = false; the MainMenu is always inside of the mainForm.

So, is it possible to show the hamburger menu outside of the main form us9ing EnableAcrylicAccent = false; ? I don't need transparency.

Show previous comments (2)

    Good morning,
    I request hotfix but I think the new maintenance release is coming. If the request hotfix spend lot of time to do it, you can cancel and I wait for new release DX.19.2.7

    Best regards
    jose

    Sasha (DevExpress Support) 5 years ago

      Hello Jose,

      It's OK. Preparing a hotfix doesn't take much time. We haven't set the final maintenance release date. Depending on what we prepare first, we will either provide a link to download the hotfix or the latest minor version in this thread.

        Thanks Sasha

        Answers approved by DevExpress Support

        created 5 years ago (modified 5 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.

        Additional information:

        We researched this behavior and found that when the EnableAcrylicAccent property is disabled, the ExtendNavigationControlToFormTitle property is not taken into account. We will change this behavior in the scope of the fix we will provide in this thread. Once you apply this fix, you can override the ExtendNavigationControlToFormTitle property to extend Hamburger Menu:

        C#
        protected override bool ExtendNavigationControlToFormTitle => true;

          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.