Hello!
I’ve been testing some things regarding the UI, and have noticed that when updating certain properties of the standard offering of UI objects, the Graphics library ends up flushing the entire screen. I created a small test program (which I can provide if desired) that changes a few properties of a UI Textbox; when changing the TextBox’s Background the Graphics.OnFlushEvent correctly reports that only the pixel box correlating to the Textbox is flushed, but when changing the Border Color or Text the OnFlushEvent reports the entire screen being flushed.
It appears that anything which calls UIElement.InvalidateMeasure as part of its update process is causing the whole screen to be invalidated, rather than it measuring just the UI object and invalidating only the area around it. (At least that is what appears to be happening based on my poking around so far.)
Is this intentional?