Slide-down animation in StackPanel - WPF (C#) -
i trying create animation in stackpanel control when new children-windows added stackpanel, sliding down animation occurs. in vertical list-styled stackpanel.
i use following code create new children-windows , insert them top of list:
usercontrol1 item1= new usercontrol1(); item1.height = 0; item1.label1.content = "child window"; stackpanel1.children.insert(0, item1);
i trying create animation in stackpanel control when new children-windows added stackpanel, sliding down animation occurs. in vertical list-styled stackpanel. i use following code create new children-windows , insert them top of list: | |||||
|