-
November 8th, 2020, 11:11 AM
#1
How can i change the default "selected tab'' color ?
Currently, the default color seems to be white.
Actually, i would like the tab to match the content color when selected.
For example, see the attached image.
Here, the white tab is selected so it matches the content since the default selected tab is white.

But when i select the turquoise one, it's still while but i would like to change it for turquoise as well.

I'm on VS 2019, anybody has a clue to tell me where/how to change the default color?
<Grid>
<TabControl HorizontalAlignment="Left" Height="400" VerticalAlignment="Top" Width="825">
<TabItem x:Name="tab1" Header="CREATION" Height="40" Width="272" Background="#FF23BBB8" BorderBrush="#FF23BBB8" FontFamily="Segoe UI Semibold" Foreground="white">
<Grid Background="#23bbb8">
<Label x:Name="titre1" Content="Creation d'une nouvelle serie QA" FontFamily="Segoe UI" FontSize="20" Foreground="white" HorizontalAlignment="Left" Height="47" Margin="33,33,0,0" VerticalAlignment="Top" Width="723"/>
</Grid>
</TabItem>
<TabItem x:Name="tab2" Header="SYNCHRONISATION" Background="#FF00565F" Height="40" Width="272" BorderBrush="#FF00565F" FontSize="12" Foreground="White" FontFamily="Segoe UI Semibold">
<Grid Background="#00565f">
<Label x:Name="titre1_Copy" Content="Synchronisation d'une serie QA" FontFamily="Segoe UI" FontSize="20" Foreground="white" HorizontalAlignment="Left" Height="47" Margin="33,33,0,0" VerticalAlignment="Top" Width="723"/>
</Grid>
</TabItem>
<TabItem x:Name="tab3" Header="EXECUTION" Background="white" Height="40" Width="272" BorderBrush="white" FontSize="12" Foreground="#FF00565F" FontFamily="Segoe UI Semibold">
<Grid Background="white">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="50*"/>
<ColumnDefinition Width="41*"/>
</Grid.ColumnDefinitions>
<Label x:Name="titre1_Copy1" Content="Execution d'une serie QA" FontFamily="Segoe UI" FontSize="20" Foreground="#FF00565F" HorizontalAlignment="Left" Height="47" Margin="33,33,0,0" VerticalAlignment="Top" Width="723" Grid.ColumnSpan="2"/>
</Grid>
</TabItem>
</TabControl>
</Grid>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|