本文介绍了恢复窗口后WPF缓慢重绘的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在Windows XP .NET 4.0上运行的WPF应用程序上工作.此应用程序中的用户控件具有通过计时器进入网格的数据.
我注意到,重新绘制确实很慢,并且在将窗口置于前台或激活(最大化或还原)之后,对鼠标单击的响应滞后.如果我切换到另一个应用程序(例如"notepad/word/excel")并最小化了WPF wpp,然后将WPF应用程序置于前台或将其激活,则会发生这种情况.
任何信息.会有所帮助.
感谢
I am working on a WPF application running on Windows XP .NET 4.0. The usercontrols in this app have data going to the grid via a timer.
I have noticed that the repaint is really slow and response to mouse clicks lags after the window is brought to the foreground or activated (maximized or restored). This happens if I switch to another app like "notepad/word/excel" and have minimized my WPF wpp and then bring the WPF app to the foreground or activate it.
Any info. would help.
Thanks
推荐答案
Any info. would help.
Thanks
这篇关于恢复窗口后WPF缓慢重绘的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!