Hi,
In order to apply effect to your PopupWindow, you could subscribe to the Loaded and Closing events of your window in the code behind, and apply the corresponding effects on the handlers of these events.
Hope this helps,
Federico Martinez
http://blogs.southworks.net/fmartinez
In order to apply effect to your PopupWindow, you could subscribe to the Loaded and Closing events of your window in the code behind, and apply the corresponding effects on the handlers of these events.
publicpartialclass MyPopupWindow : Window { public MyPopupWindow() { this.Loaded += Shell_Loaded; this.Closing += Shell_Closing; InitializeComponent(); } void Shell_Closing(object sender, System.ComponentModel.CancelEventArgs e) { //exit animation } void Shell_Loaded(object sender, RoutedEventArgs e) { //start animation } }
Federico Martinez
http://blogs.southworks.net/fmartinez