WPF Popup close automatically WPF Popup close automatically wpf wpf

WPF Popup close automatically


 <Popup x:Name="pop" IsOpen="False"  StaysOpen="False">


in WinRT and universal app you can use

IsLightDismissEnabled="True"

its will close automatically when click any where.