简体   繁体   English

如何在加载Mahapps.Metro窗口时关闭幻灯片动画?

[英]How to turn off slide animation on Mahapps.Metro Window on load?

Does any know how turn off the animation when the Mahaaps.metro WPF window loads? 有没有人知道在Mahaaps.metro WPF窗口加载时如何关闭动画? Everything appears to load from the right to left. 一切似乎从右到左加载。 How can I turn this off? 我该怎么办呢? I do not see any mentioned of this in the documentation. 我在文档中没有看到任何提及的内容。

Thanks 谢谢

在Window本身上设置WindowTransitionsEnabled =“False”。

By default it should work with latest Mapapp build. 默认情况下,它应该与最新的Mapapp构建一起使用。 However, it was broken for when Form includes WebBrowser controls. 但是,当Form包含WebBrowser控件时,它被破坏了。 Setting WindowTransitionsEnabled="False" as mentioned by "chaiwalla" resolves the problem 如“chaiwalla”所述设置WindowTransitionsEnabled =“False”可以解决问题

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM