Current filter:
                                You should refresh the page.
                                  • Is there a built-in navigation button that can be used in the HamburgerSubMenu FlyoutHeaderTemplate that is themed to it like its back arrow button while also closing the flyout after the command is executed?

                                1 Solution

                                Creation Date Importance Sort by

                                Hi Chris.

                                You can add a button to the HamburgerSubMenu header. To do this, place a button or any other suitable item in the FlyoutHeaderTemplate and handle the click event. To close the flyout, you will need to create a descendant of the HamburgerSubMenu class to be able to access its non-public method. I am attaching an example of how this works.

                                In the meantime, a simple click on a sub item will work in the same way. I.e., it allows you to execute a command and closes the flyout. So, the purpose of an extra button in the header is not entirely clear. Would you please describe your final goal?


                                • Chris Schiefer 09.04.2019

                                  Essentially I have two purposes for HamburgerSubMenu, to fly out its menu items but also to navigate.  The parent (HamburgerSubMenu) can navigate to a particular view and the children (HamburgerSubMenuNavigationButton) can navigate to a different view.  Since HamburgerSubMenu is not a navigation button and its click is intended to show the flyout of HamburgerSubMenuNavigationButton, I considered providing the navigation to the parent view in the FlyoutHeader via a HamburgerMenu style navigation button that is themed appropriately.

                                • Boris (DevExpress Support) 09.05.2019

                                  Hi Chris.

                                  Thank you for the detailed description. I am happy that the issue has been resolved.
                                  If you have further questions, don't hesitate to contact me.

                                  Best Regards,

                                • Chris Schiefer 09.10.2019

                                  How can I style my button in the FlyoutHeader like HamburgerSubMenuPaneBackButton, but provide my own glyph and command or click event?

                                • Andrey Marten (DevExpress Support) 09.10.2019


                                  I've created a separate ticket on your behalf (T813880: HamburgerMenu - How to customize the appearance of a custom button in the header). It has been placed in our processing queue and will be answered shortly.