views:

50

answers:

0

Hi guys,

I've a popup (this.popup = {System.Windows.Controls.Primitives.Popup}) that doesn't close when for example I change the screen by calling navigationservice.navigate, I've tried to close it in the LostFocus event but it doesn't close. What's the trick guys?

Thanks

Ex.: void myComponent_LostFocus(object sender, RoutedEventArgs e) { this.popup.IsOpen = false; }