shared/PopupButton won't go away

Ribbon for WPF Forum

Posted 8 years ago by John Lutz
Version: 16.1.0633

I have a shared PopupButton with a ListBox as the content.   If I <Alt-Tab> to another app while the content is popped up, it doesn't close and shows on top of the other app.   Is there any way you can make it close when the app loses focus?  I've spyed the events and wasn't seeing anything I could use to detect this scenario.

Comments (1)

Posted 8 years ago by Actipro Software Support - Cleveland, OH, USA

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:

Actipro Software Support

The latest build of this product (v24.1.1) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.