-
I wanted to change the following on the focus tab; Border Bottom Thickness The result should be something like this I couldn't find a clear wiki for this. As of now, I have this;
and my style
I was hoping there is another light them for tab |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Right now the TabControl is a fairly recent addition so many of the customizations have not been flushed out. <TabControl Width="300" materialDesign:ColorZoneAssist.Mode="Light">
<TabControl.Resources>
<SolidColorBrush x:Key="MaterialDesignLightForeground" Color="{DynamicResource PrimaryHueMidBrushColor}" />
</TabControl.Resources>
<TabItem BorderThickness="0,0,10,0">
<TabItem.Header>
<TextBlock Foreground="{DynamicResource MaterialDesignPaper}" Text="TAB 1" />
</TabItem.Header>
<TextBlock Margin="8" Text="PrimaryLight Tab 1" />
</TabItem>
<TabItem>
<TabItem.Header>
<TextBlock Foreground="{DynamicResource MaterialDesignPaper}" Text="TAB 2" />
</TabItem.Header>
<TextBlock Margin="8" Text="PrimaryLight Tab 2" />
</TabItem>
</TabControl> However, it looks like you have copied in the style into your own project. Assuming that is right you should be able to make the following changes:
|
Beta Was this translation helpful? Give feedback.
-
I will wait for such a feature. I hope this will be added very soon. |
Beta Was this translation helpful? Give feedback.
Right now the TabControl is a fairly recent addition so many of the customizations have not been flushed out.
For your items 2-4 you can get pretty close if you do something like this (you may want to tweak some of the brushes to suit your needs):