Question

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

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top