How to change he background of the selected TabViewItem?
1 Answer, 1 is accepted
answered on 10 Mar 2022, 10:59 AM
As you would like to change the background of the TabViewItem, you would need to set HeaderItemStyle property, HeaderStyle applies styling to the whole header. You can take a look at the Visual Structure topic for more details on the TabView visual elements.
As to the HeaderItemStyle - you can find an example on how you can apply styling to the selected tab in our documentation topic here: HeaderItem Styling - in short through VisualStateManager different textcolor is set to the Selected tab, the same approach can be used for BackgroundColor: