|
@@ -28,7 +28,21 @@
|
|
|
|
|
|
<converters2:AllMultiValueConverter x:Key="AllMultiValueConverter"/>
|
|
|
<converters2:AnyMultiValueConverter x:Key="AnyMultiValueConverter"/>
|
|
|
-
|
|
|
+ <ControlTemplate TargetType="RadioButton" x:Key="TabRadio">
|
|
|
+ <Border BorderThickness="0,0,0,3" BorderBrush="White" CornerRadius="3" x:Name="ShadowBorder" Margin="5,0">
|
|
|
+ <Border x:Name="TabBorder" BorderThickness="1" CornerRadius="3" Background="#009ad6" Padding="5,3" Margin="0,-1,0,0">
|
|
|
+ <TextBlock x:Name="TabText" Text="{TemplateBinding Content}" Foreground="White" Background="#009ad6" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
+ </Border>
|
|
|
+ </Border>
|
|
|
+ <ControlTemplate.Triggers>
|
|
|
+ <Trigger Property="IsChecked" Value="True">
|
|
|
+ <Setter TargetName="TabText" Property="Background" Value="#009ad6"></Setter>
|
|
|
+ <Setter TargetName="TabBorder" Property="Background" Value="#009ad6"></Setter>
|
|
|
+ <Setter TargetName="ShadowBorder" Property="Background" Value="#009ad6"></Setter>
|
|
|
+ <Setter TargetName="ShadowBorder" Property="BorderThickness" Value="0"></Setter>
|
|
|
+ </Trigger>
|
|
|
+ </ControlTemplate.Triggers>
|
|
|
+ </ControlTemplate>
|
|
|
|
|
|
</UserControl.Resources>
|
|
|
<Canvas>
|
|
@@ -508,21 +522,21 @@
|
|
|
</Border>
|
|
|
<Border Grid.Row="1" BorderBrush="{DynamicResource Table_BD}" Background="{DynamicResource Table_BG_Content}" BorderThickness="1,0,1,0" Padding="5,1">
|
|
|
<WrapPanel Margin="10,10,10,0" Orientation="Horizontal" HorizontalAlignment="Center">
|
|
|
- <RadioButton Content="TM" Width="80" Margin="2 0 0 10" IsChecked="True" x:Name="tmRadioButton">
|
|
|
+ <RadioButton Content="TM" Width="80" Margin="2 0 0 10" IsChecked="True" x:Name="tmRadioButton" Template="{StaticResource TabRadio}">
|
|
|
<i:Interaction.Triggers>
|
|
|
<i:EventTrigger EventName="Checked">
|
|
|
<i:InvokeCommandAction Command="{Binding ModuleCheckedCommand}" CommandParameter="TM"/>
|
|
|
</i:EventTrigger>
|
|
|
</i:Interaction.Triggers>
|
|
|
</RadioButton>
|
|
|
- <RadioButton Content="LLA" Width="80" Margin="2 0 0 10" Visibility="{Binding LLAIsInstalled,Converter={StaticResource bool2VisibilityConverter}}">
|
|
|
+ <RadioButton Content="LLA" Width="80" Margin="2 0 0 10" Visibility="{Binding LLAIsInstalled,Converter={StaticResource bool2VisibilityConverter}}" Template="{StaticResource TabRadio}">
|
|
|
<i:Interaction.Triggers>
|
|
|
<i:EventTrigger EventName="Checked">
|
|
|
<i:InvokeCommandAction Command="{Binding ModuleCheckedCommand}" CommandParameter="LLA"/>
|
|
|
</i:EventTrigger>
|
|
|
</i:Interaction.Triggers>
|
|
|
</RadioButton>
|
|
|
- <RadioButton Content="LLB" Width="80" Margin="2 0 0 10" Visibility="{Binding LLBIsInstalled,Converter={StaticResource bool2VisibilityConverter}}">
|
|
|
+ <RadioButton Content="LLB" Width="80" Margin="2 0 0 10" Visibility="{Binding LLBIsInstalled,Converter={StaticResource bool2VisibilityConverter}}" Template="{StaticResource TabRadio}">
|
|
|
<i:Interaction.Triggers>
|
|
|
<i:EventTrigger EventName="Checked">
|
|
|
<i:InvokeCommandAction Command="{Binding ModuleCheckedCommand}" CommandParameter="LLB"/>
|