Hello All,
I've created a WPF Popup with StaysOpen = "False". Nonetheless, it stays open if I click outside the Popup but still within the app's main window. (If I click outside the main window, then the Popup will properly close.)
For this Popup, I have tried both Placement = "MousePoint" and Placement = "Mouse".
I do believe that the focus is leaving the Popup when I click outside of it. I say this because I can click on buttons in my main window, and their handlers run. But all the while, the Popup stays stubbornly visible. Since the focus leaves the Popup, it should close. But it does not.
Can anybody fathom a reason why my Popup is not closing even though I set StaysOpen = "False"?
Thanks, Dave