为什么SwapChainBackgroundPanel和XAML互操作会发生闪烁? [英] Why SwapChainBackgroundPanel and XAML interop happen flashing?

查看:94
本文介绍了为什么SwapChainBackgroundPanel和XAML互操作会发生闪烁?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个关于XAML和SwapChainBackgroundPanel互操作性的问题。

SwapChainBackgroundPanel是根XAML元素,将Metro风格的XAML UI覆盖到SwapChainBackgroundPanel上。

Metro风格的XAML UI被重新绘制当在XAML UI或Combobox Selected中显示工具提示时等等。
$
XAML UI有点闪烁。



我发现了问题所在Direct2D灯光效果样本。

如何解决谁帮助我的问题?

非常感谢!

I have a problem about XAML and SwapChainBackgroundPanel interoperability.
SwapChainBackgroundPanel is the root XAML element, Overlaying Metro style XAML UI onto SwapChainBackgroundPanel.
Metro style XAML UI were redrew when show a tooltip in XAML UI or Combobox Selected and so on.
XAML UI has a little flashing.

I found the issue in Direct2D lighting effects sample.
How to workaround the issue who help me?
Thanks very much!

推荐答案

您可能会遇到消费者预览中的已知问题,导致在某些硬件上发生这种情况。 无论何时打开/关闭弹出控件(包括工具提示和ComboBox下拉菜单),都会发生这种情况。 
不幸的是,Consumer Preview的唯一解决方法是避免使用Popup控件。
You're likely running into a known issue in the Consumer Preview that causes this to happen on some hardware.  This can happen whenever you open/close a Popup control (which include tooltips and ComboBox dropdowns).  Unfortunately the only workaround for the Consumer Preview is to avoid Popup controls.


这篇关于为什么SwapChainBackgroundPanel和XAML互操作会发生闪烁?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆