开发者

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 transitio开发者_开发问答n 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


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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜