WPF在蓝色背景的窗口人工制品 [英] WPF window artifacts on blue background

查看:88
本文介绍了WPF在蓝色背景的窗口人工制品的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在从我的Word插件中显示一些WPF窗口。关闭这些窗口后,文档周围区域会出现一些令人讨厌的绘图工件。如何触发该区域的重绘?重量级的Application.RefreshScreen似乎有效,但是
有令人讨厌的副作用,将焦点从我当前选择的内容控件中拉出来。谢谢您的时间。

I'm showing some WPF windows from my Word addin. After these windows are closed there are some nasty drawing artifacts in the area around the document. How do trigger a redraw on that area? The heavyweight Application.RefreshScreen seems to work, but it has the nasty side effect of pulling focus out of my currently selected content control. Thanks for your time.

推荐答案

Hi Brannon,

感谢您发帖,我们很乐意为您提供帮助。

阅读完帖后,我知道你的问题是  这些
wpf窗口已关闭,文档周围区域有一些令人讨厌的绘图工件。 nbsp;

为您的问题
, 
我发现很难重现你的问题,所以,你能用b $ b请将文件上传到SkyDrive:

http://www.windowslive.co.uk/skydriv e    
与我分享链接。我会尽力帮助你。

As for your issue, I found it difficult to reproduce your issue, so, could you please upload your file to the SkyDrive: http://www.windowslive.co.uk/skydrive  and share the link with me. I will try my best to help you.

 作为
,据我所知,我认为这可能是通过Word中的Application.RefreshScreen来解决问题的临时解决方案。

随意跟进,祝你今天愉快。

最佳
问候,


这篇关于WPF在蓝色背景的窗口人工制品的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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