how to close wpf window if i click outside the wpf window
-
hi all, i want to close my wpf window when i click mouse out side the wpf window.
-
hi all, i want to close my wpf window when i click mouse out side the wpf window.
Hi, Does the Window has a MDI form or such ?
-
hi all, i want to close my wpf window when i click mouse out side the wpf window.
If this is a window contained inside another WPF window, a good way to do this is have the window you want closing actually be a
Popup
. SetStaysOpen = false
on thePopup
, and it will close when you click outside the popup area.*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington
"Mind bleach! Send me mind bleach!" - Nagy Vilmos
CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier
-
hi all, i want to close my wpf window when i click mouse out side the wpf window.