Hi all,
I have a popup containing a ListView. The ListView contains customer names. The popup is openen when a search bar is clicked. The user can enter text in the search bar (TextBox) and the Listview is filterd based on the input.
I want to close the popup whenever it loses focus. However, the default "auto close" behaviour StaysOpen="False"
is no good, because it closes the popup everytime someone clicks on the search bar.
How can I close the Popup always when it loses focus, except when the focus goes to the search bar?