Speeding up WPF resizing/redrawing

坚强是说给别人听的谎言 提交于 2019-12-31 02:48:10

问题


Im noticing a black area displays when resizing even an empty WPF window. Alot of programs on my desktop dont have these issues.. So im wondering, is there a way to set a resize redraw priority or something, and speed up the resizing of WPF windows? or is this problem just unavoidable.


回答1:


This is inherit to how WPF works and there is nothing you can do about this.

What you're seeing is the DirectX surface resizing and the entire surface redrawing, which takes a considerable amount of time.



来源:https://stackoverflow.com/questions/4110698/speeding-up-wpf-resizing-redrawing

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!