有关WPF过渡的问题 [英] Question about transition in WPF
本文介绍了有关WPF过渡的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨.
我在WPF中使用过渡时遇到问题.
问题是我有两个winforms用户控件,而我却有两个数据模板的过渡控件.
到现在为止,一切都还可以.问题在于过渡动画无法与Winforms用户控件一起使用.
我确实在Google上搜索以寻求帮助,但没有找到任何东西.
任何人都有适合我的解决方案,或者有另一种解决方案可以解决此问题.
感谢您的帮助
Hi.
I have a problem about using transition in WPF.
The problem is that I have two winforms user control and I but then in 2 datatemplate of a transition control.
Until now every thing is OK. The problem is that the transition animation is not working with the winforms user controls.
I did search in Google for a help but I did not find any thing.
Any one have a solution for me or there is another solution to do this scenario.
Thanks for helping
推荐答案
难怪.真正的解决方案是摆脱System.Windows.Forms
控件.将它们替换为WPF控件,否则会引发更多问题.
—SA
No wonder. The real solution would be getting rid ofSystem.Windows.Forms
controls. Replace them with WPF controls, otherwise you can invite some more problems.
—SA
这篇关于有关WPF过渡的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文