I want to change the default corner radius of TabViewItem. With default corner radius, it looks like this:
But I want it to have sharp edge, which means to set CornerRadius to zero. Like this:
I have tried setting the CornerRadius of the TabView to zero. I also tried using ItemTemplate like this:
<winui:TabView.TabItemTemplate>
<DataTemplate x:DataType="viewmodels:ShapelistViewModel">
<winui:TabViewItem
CornerRadius="0"
Header="{Binding}" />
</DataTemplate>
</winui:TabView.TabItemTemplate>
Neither of them worked.
At last, I tried to edit the Template of the TabView, but didn't find anything related to CornerRadius in the Template.

