w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
WPF app using ExpressionDark theme, want to extend TabItem Header style

Instead of :

<Style x:Key="TabItemContainerStyle" TargetType="TabItem"

Try below code :

<Style x:Key="TabItemContainerStyle" TargetType="{x:Type
TabItem}" BasedOn="{StaticResource {x:Type TabItem}}" >

Or if it does not work, then


BasedOn="{StaticResource {x:Type TabItem}}"


BasedOn="{StaticResource NameOfYourStyleDeclaredInTheme}"

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.