I'm using the TabControl component. I'm creating my Tabs by binding to a list of items. The color of a selected tab is purple. The documentation says, you can change tab color like this:
<navigation:TabControl>
<navigation:TabItem Header="James" SelectedForeground="Red" />
<navigation:TabItem Header="Carl" SelectedForeground="Red" />
<navigation:TabItem Header="Linda" SelectedForeground="Red" />
<navigation:TabItem Header="Niko" SelectedForeground="Red" />
</navigation:TabControl>
The Problem is: I don't declare my tabs in xaml and I don't bind to a list of TabItem objects. So how can I change the SelectedForeground?