Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Transitions in WPF

I really want to make rich applications which also include transitions, this way I can fit more on one window by fading out parts that I don't need and fading in parts I do.

But I don't know how to achieve this, I have read some tutorials on the net but they are quite hard to understand.

Maybe the great Stackoverflow community can provide an easy method which will allow me to achieve this?

I am using Expression Blend 3 and VS2010 RC for all my development, but will mainly be focusing on Blend for everything apart from advanced coding.

Thanks

like image 678
Sandeep Bansal Avatar asked Mar 04 '10 01:03

Sandeep Bansal


1 Answers

If you're into Blend (I am, good choice!) I would recommend Visual State Manager over various transition presenters (in Transitionals, FluidKit, Bag-O-Tricks, etc). VSM is supported by Blend natively and it is quite easy to design transitions in there.

The difference is that transition presenters fit more nicely into MVVM style of programming - you're flipping the ViewModel, and the presenter automatically does the switching the UI, animating the process as a side effect. With VSM, transitions are more the primary goal than a side effect.

like image 103
Sergey Aldoukhov Avatar answered Sep 24 '22 06:09

Sergey Aldoukhov