views:

43

answers:

1

Hi, I was wondering if there is a standard way (or best-practices way) of transitioning between two views in WPF?

For example, if you are looking at one particular view, and you click a button (e.g. a "Next" button) and you want to transition into the next view, what is the best-practices way of doing that?

I have seen a few examples online, but they are all different in how they handle it.

Also, these are animated transitions I would like to be able to do (i.e. slide, fade, etc.).

Thank you

+2  A: 

Hi Arash,

Pavan Podila has some very good transition examples: TransitionContainer: Easy transitions between views. This is a part of his FluidKit library.

But best practices vary from project to project. It may be as simple as having a Frame control with set of pages. Or as complex as one can imagine.

Cheers, Anvaka.

Anvaka
Thank you Anvaka, I will have a look at that.
Arash
You are welcome, Arash. Hope it helps. Cheers :)
Anvaka