Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mvvm转场动画如何实现? #51

Closed
roodkcab opened this issue Aug 1, 2020 · 2 comments
Closed

mvvm转场动画如何实现? #51

roodkcab opened this issue Aug 1, 2020 · 2 comments

Comments

@roodkcab
Copy link
Member

roodkcab commented Aug 1, 2020

同一个window下的两个界面visbile-bind到一个bool上之后,界面马上就切换了,想做一个转场动画,要怎么实现呢?

@vczh
Copy link
Member

vczh commented Aug 7, 2020

不知道你具体遇到了什么问题,但是原则上,既然是动画,那当然你要自己去算动画的运行过程了,包括这些控件的位置什么的。目前的GacUI只提供了动画的基础部件,没有这些辅助的功能,要自己写公式实现。

@roodkcab
Copy link
Member Author

roodkcab commented Aug 8, 2020

嗯,之前没看到animation的例子,我去写一个转场的东西出来,稍后贴到这里。

@roodkcab roodkcab closed this as completed Aug 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants