Flyout menu is not dismissed after making selection

Navigation for WPF Forum

Posted 16 years ago by Kollen Glynn
Version: 3.5.0428
Platform: .NET 3.5
Environment: Windows Vista (32-bit)
Avatar
1. Minimize navigation bar
2. Click on minimized "Navigation Bar" area -> flyout menu appears.
3. Make selection

Expected: flyout menu closes after making selection.
Actual: menu stays visible.

Comments (1)

Posted 16 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Kollen,

Actually this is by design and I don't believe what you were asking for could be done. Let me explain.

If you run Outlook and minimize the Mail pane and pop it up, note that you can click on subheaders to expand/collapse them. The popup won't close. You also can do other mouse activities such as dropping down the combobox at the top and clicking menu items, or resizing the popup. None of those actions close the popup either.

I think the closing must depend on the context of what is in your panes. There may be cases where you have a listbox that when items are clicked should not close the popup. Therefore I would recommend that you attach to the selection changed events on controls that should require close in your application and when that occurs, call NavigationBar.IsPopupOpen = false to ensure it is closed.


Actipro Software Support

The latest build of this product (v24.1.2) was released 1 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.