Close WPF PopUp when clicking on Window Title bar.

Posted by Jobi Joy on Stack Overflow See other posts from Stack Overflow or by Jobi Joy
Published on 2010-03-26T19:06:07Z Indexed on 2010/03/26 19:13 UTC
Read the original article Hit count: 324

Filed under:
|
|

I can see that the PopUp dropdown of a combobox gets closed if we click anywhere else in the app. How do I give that feature to my own Popup. I dont want to give a PreviewMouseDown event handler for the RootWindow to solve this issue. Something at the level of my userControl containing this popup.

© Stack Overflow or respective owner

Related posts about wpf

Related posts about xaml