Question

I have to update multiple child controls in a WPF control. I don't want the control redrawn until I have updated all its child controls.

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top