Quantcast
Channel: Ribbon for WPF - Recent Posts
Viewing all articles
Browse latest Browse all 1458

Re: shared/PopupButton won't go away

$
0
0

Hi John,

That scenario shouldn't happen if you have the StaysOpen feature off.  When that feature is off (the default), the popup will hide when focus moves elewhere.  Otherwise, you'd have to watch for your Window to lose activation to another app and manually set IsPopupOpen to false since I believe WPF opens Popups as topmost windows.

This thread has some help on how to watch for app deactivation:

https://social.msdn.microsoft.com/Forums/en-US/81a5be4d-ef17-473b-a67c-23dad749fe24/is-there-a-way-to-find-that-application-is-activated-or-active-in-wpf-wmactivateapp?forum=wpf


Viewing all articles
Browse latest Browse all 1458

Trending Articles