Digging into the visuals of controls built by Microsoft or others.
The visual tree defined in a ControlTemplate to define the look and feel of a control can be accessed by application developers. I’d love to understand if there any scenarios where you find this necessary. (Please let me know either way.)
It is a bit dangerous to do this because the contents of the VisualTree may differ with different operating system themes.
I bring this up because we have a perf problem with a control that may be best fixed by improving the ControlTemplate…but if any devs were digging into the template, that code may break. Compat is critical, but so is perf…so gathering some info…