Hello,
how do I change thebackground of a TabItem?
Hi mstobmayer,
<Style TargetType="{x:Type igWindows:TabItemEx}"> <Setter Property="Background" Value="LightBlue"/> </Style>
Sincerely, MattDeveloper Support Engineer
HI,
I am just following up on this thread.
Please let me know if you need further assistance.
Sincerely Matt Developer Support Engineer
Hello Matt,
I'm using the xamTabControl myself and decided to fix the TabStripPlacement to "Left". That action automatically resolves my (lineargradientbrush) background of the tabItem child controls to the default. Here's my code snippet:
<Style x:Key="tabButtonstyle" TargetType="{x:Type igWindows:TabItemEx}">
<Style.Setters>
<Setter Property="Background">
<Setter.Value>
<LinearGradientBrush StartPoint="0,0" EndPoint="1,1">
<GradientStop Color="White" Offset="0.0"/>
<GradientStop Color="Khaki" Offset="0.25"/>
<GradientStop Color="Khaki" Offset="0.5"/>
<GradientStop Color="White" Offset="1"/>
</LinearGradientBrush>
</Setter.Value>
</Setter>
</Style>
I need to maintain the same background even though the TabStripPlacement is LEFT.
Hope you can help...
Thanks for your time...
Dexter