开发者

WPF UserControl Transition

I have a Main Window which has a Grid. On Button Click Events, I switch the children of the Grid between multiple UserControls. When I switch between these user controls I want to create a transition, something like fade or slide in etc. How can I 开发者_开发问答do this?


You can do this using Expression Blend, and either creating your own, or using pre-made visual transitions.

FluidMoveBehaviour is a common one for animating the removal and addition of objects to a content control. There are also some 'pseudo-3d' animations such as flip, rotate etc...

http://gallery.expression.microsoft.com/DynamicLayoutTrans/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜