| | |
| | | <Setter Property="Margin" Value="0"/> |
| | | <Setter Property="Background" Value="{StaticResource ButtonColor}"/> |
| | | <Setter Property="Foreground" Value="{StaticResource ButtonFont}"/> |
| | | <Setter Property="HeaderFontSize" Value="15"/> |
| | | <Setter Property="Template"> |
| | | <Setter.Value> |
| | | <ControlTemplate TargetType="{x:Type ctl:IconTabItem}"> |
| | | <ControlTemplate x:Name="ct" TargetType="{x:Type ctl:IconTabItem}"> |
| | | <Border x:Name="templateRoot" BorderThickness="1,1,1,1" Padding="10" |
| | | BorderBrush="Gray" |
| | | Background="{TemplateBinding Background}"> |
| | | <Label x:Name="txt" Visibility="Visible" BorderThickness="0" |
| | | VerticalContentAlignment="Center" |
| | | HorizontalAlignment="Left" |
| | | FontSize="{TemplateBinding HeaderFontSize}" |
| | | Content="{TemplateBinding Header}" ToolTip="{TemplateBinding Header}" |
| | | Foreground="{TemplateBinding Foreground}" /> |
| | | <StackPanel HorizontalAlignment="Center"> |
| | | <Image Width="30" Height="30" Source="{TemplateBinding Icon}"/> |
| | | <Label x:Name="txt" Visibility="Visible" BorderThickness="0" |
| | | VerticalContentAlignment="Center" |
| | | HorizontalAlignment="Left" |
| | | FontSize="{TemplateBinding HeaderFontSize}" |
| | | Content="{TemplateBinding Header}" ToolTip="{TemplateBinding Header}" |
| | | Foreground="{TemplateBinding Foreground}" /> |
| | | </StackPanel> |
| | | </Border> |
| | | <ControlTemplate.Triggers> |
| | | <MultiDataTrigger> |
| | |
| | | </Style> |
| | | </ResourceDictionary> |
| | | </UserControl.Resources> |
| | | |
| | | |
| | | |
| | | <Grid> |
| | | <TabControl x:Name="tabLevel_1" |
| | | Style="{StaticResource ControlStyle}" |