2

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.

caesay
  • 16,932
  • 15
  • 95
  • 160
  • Are you using any custom window chrome? – Cody Gray - on strike Nov 06 '10 at 06:55
  • Possible duplicate: http://stackoverflow.com/questions/1382915/how-to-fix-the-wpf-form-resize-controls-lagging-behind-and-black-background – Cody Gray - on strike Nov 06 '10 at 06:56
  • See my reply on this thread: http://stackoverflow.com/questions/1382915/how-to-fix-the-wpf-form-resize-controls-lagging-behind-and-black-background/11004879#11004879 and two solutions, described here: http://wieser-software.blogspot.co.uk/2012/06/wpf-window-rendering-woes.html – Anthony Wieser Jun 12 '12 at 21:31

1 Answers1

-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.

Pieter van Ginkel
  • 29,160
  • 8
  • 71
  • 111