Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the standard way of transitioning between views?

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

like image 715
Arash Emami Avatar asked Dec 20 '25 00:12

Arash Emami


1 Answers

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.

like image 92
Anvaka Avatar answered Dec 22 '25 19:12

Anvaka



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!