I'm trying to modify the margin that exists above the tabs in a TabView control, see the little red arrow here:
I think this margin is set here (its the matching amount of offset), but my attempts to modify this value via setters haven't been successful. How do I change it?
Edit: Looks like the method to modify this may change.
The padding/margin you want to modify is controlled by the lightweight styling resource "TabViewHeaderPadding", overriding it with your desired value will change the margin as desired. Following XAML will show the result below:
<muxc:TabView>
<muxc:TabView.Resources>
<Thickness x:Key="TabViewHeaderPadding">0,20,0,0</Thickness>
</muxc:TabView.Resources>
</muxc:TabView>