Skip to content

Change the tabitem header foreground #2986

Closed Answered by Keboo
MrStamina asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @MrStamina

I pushed a small sample application here that shows how to do it.

The key change is here:

<TabControl 
            Style="{StaticResource MaterialDesignFilledTabControl}"
            materialDesign:ColorZoneAssist.Mode="Custom"
            materialDesign:ColorZoneAssist.Foreground="#ff5a08"
            materialDesign:ColorZoneAssist.Background="#1f2c44">
    <TabControl.ItemContainerStyle>
        <Style TargetType="TabItem" BasedOn="{StaticResource MaterialDesignTabItem}">
            <Style.Triggers>
                <Trigger Property="IsSelected" Value="False">
                    <Setter Property="materialDesign:ColorZoneAssist.Foreground" Value="White" />
                </

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MrStamina
Comment options

Answer selected by Keboo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants