How does WPF optimise the layout / rendering cycle?

How does WPF optimize the Layout / Rendering cycle in a highly volatile application?

For example, imagine I invalidate a custom control twice in quick succession, will it render twice? Are there performance issues when Data/Property update-rates are faster than main render rate?


Based on my experience, I can say that no it will no render twice if it's fast enought. I'm not 100% sure, but this is why i think this:

We had a really heavy application (thousands of controls), it was an aircraft cockpit, all in wpf, each button, switch, screen were movable by gesture, or mouse.

The cockpit was 10 000 pixels by 10 000 pixels, and implemented a Zoom in/Zoom out (with mouse wheel), panning when right mouse button clicked.

Before optimization, it was very laggy, slow, so each "Zoom" step, or "Pan" step took about 1 second

If I Zoom 1 time (Zoom * 1.2 for example), it took 1 second

If I Zoom 10 times (Zoom * 1.2 X 10), it does not takes 10 seconds, it takes probably like 2 seconds depending on the speed you scroll, and it does not render each "zoom step" it render only the last one...

Need Your Help

jQuery CSS conflicts in Wordpress

jquery css wordpress jquery-ui jquery-ui-datepicker

I've created this WP plugin that uses a jQuery UI Datepicker. Works great, does exactly what I want it to do.... except any WP install already running a jQuery UI CSS will be overriden by mine. Obv...