I would like to remove the gap above the tabs (see red box in attached picture) so that they align with other controls. Is there a way to do this without redefining the entire control template?
It doesn't need to be in XAML; I can find and modify the element in code behind if needed, but I can't figure out where the gap is even coming from. I used this technique to edit some margins that were buried deep within control templates.I looked through the live visual tree but didn't see any obvious margins or padding that were controlling it.