I am working on custon tabs in wpf. So far I am able to do
<Grid Background="#2B3C59"><TabControl Margin="10" BorderThickness="0, 3, 0, 0" BorderBrush="#FFE8A6" Background="#D3D3D3"><TabControl.Resources><Style TargetType="TabItem"><Setter Property="Height" Value="30"/><Setter Property="MinWidth" Value="40"/><Setter Property="Template"><Setter.Value><ControlTemplate TargetType="TabItem"><Border Name="Panel" Padding="10, 0, 10, 0" CornerRadius="2, 2, 0, 0"><ContentPresenter x:Name="ContentSite" VerticalAlignment="Center" HorizontalAlignment="Center" ContentSource="Header"/></Border><ControlTemplate.Triggers><Trigger Property="IsMouseOver" Value="True"><Setter TargetName="Panel" Property="Opacity" Value="0.5"/><Setter TargetName="Panel" Property="Background" Value="White"/><Setter TargetName="Panel" Property="BorderThickness" Value="1, 1, 1, 0"/><Setter TargetName="Panel" Property="BorderBrush" Value="WhiteSmoke"/></Trigger><Trigger Property="IsSelected" Value="True"><Setter TargetName="Panel" Property="BorderThickness" Value="0"/><Setter TargetName="Panel" Property="Background" Value="#FFE8A6" /><Setter TargetName="Panel" Property="Opacity" Value="1.0"/></Trigger><!--Trigger Property="IsSelected" Value="False"><Setter Property="TextElement.Foreground" Value="White" /></Trigger--></ControlTemplate.Triggers></ControlTemplate></Setter.Value></Setter></Style></TabControl.Resources><TabItem Header="General"><Label Content="Tab 1" /></TabItem><TabItem Header="Tab 2" /><TabItem Header="Tab 3" /></TabControl></Grid>
but i want to have glow effect like in Visual studio when mouse hovered on a tab:
OuterGlowBitmapEffect does not seem to work now in .net 4.0
Any help? Thanks in advance.