Is it possible to prevent a WPF control redraw?
I have to update multiple child controls in a WPF control. I don't want the control redrawn until I have updated al开发者_运维技巧l its child controls.
If you are making all these updates on the UI thread (which is typically the case), then the WPF framework will do exactly what you desire!
To test it out, create an infinite loop that continually updates your control and child controls. The UI will freeze up as a result.
精彩评论