forum

home / developersection / forums / how animate popup on close will work?

how Animate Popup on Close will work?

Lady Bird Johnson 2577 09-Aug-2013
Hi Developer!

So I am having trouble animating a Popup in C#, and I am wondering what I am doing wrong. The popup animates on opening, does not animate on close. Do I have to set the PopupAnimation value to a new animation after it opens? 

Popup popup = new Popup();

popup.AllowTransparency = true;

popup.StayOpen = false;

popup.PopupAnimation = PopupAnimation.Slide;

popup.IsOpen = true;

thank in advance.


wpf wpf 
Updated on 10-Aug-2013
Can you answer this question?

Answer

1 Answers

Liked By