|
|
@@ -395,7 +395,7 @@ |
|
|
|
<Setter Property="BorderBrush" Value="Transparent" /> |
|
|
|
<Setter Property="Background"> |
|
|
|
<Setter.Value> |
|
|
|
<ImageBrush ImageSource="../Images/button2.png" /> |
|
|
|
<ImageBrush ImageSource="../Images/button1.png" /> |
|
|
|
</Setter.Value> |
|
|
|
</Setter> |
|
|
|
<Setter Property="Foreground" Value="{DynamicResource ButtonSelectForeground}" /> |
|
|
@@ -427,20 +427,12 @@ |
|
|
|
</Border> |
|
|
|
<ControlTemplate.Triggers> |
|
|
|
<Trigger Property="IsChecked" Value="true"> |
|
|
|
<Setter TargetName="BD" Property="Background"> |
|
|
|
<Setter.Value> |
|
|
|
<ImageBrush ImageSource="../Images/button2.png" /> |
|
|
|
</Setter.Value> |
|
|
|
</Setter> |
|
|
|
<Setter TargetName="textBlock" Property="Foreground" Value="{DynamicResource MeunSelectForeground}" /> |
|
|
|
<Setter TargetName="BD" Property="Opacity" Value="1"/> |
|
|
|
<Setter TargetName="textBlock" Property="Opacity" Value="1" /> |
|
|
|
</Trigger> |
|
|
|
<Trigger Property="IsChecked" Value="False"> |
|
|
|
<Setter TargetName="BD" Property="Background"> |
|
|
|
<Setter.Value> |
|
|
|
<ImageBrush ImageSource="../Images/button1.png" /> |
|
|
|
</Setter.Value> |
|
|
|
</Setter> |
|
|
|
<Setter TargetName="textBlock" Property="Foreground" Value="{DynamicResource ButtonSelectForeground}" /> |
|
|
|
<Setter TargetName="BD" Property="Opacity" Value="0.5"/> |
|
|
|
<Setter TargetName="textBlock" Property="Opacity" Value="0.5" /> |
|
|
|
</Trigger> |
|
|
|
<Trigger Property="IsEnabled" Value="False"> |
|
|
|
<Setter TargetName="textBlock" Property="Foreground" Value="{DynamicResource ButtonUnSelectForeground}" /> |
|
|
@@ -500,7 +492,7 @@ |
|
|
|
</Style> |
|
|
|
|
|
|
|
<Style TargetType="{x:Type ctrl:NumberBox}"> |
|
|
|
<Setter Property="BorderBrush" Value="{x:Static Themes1:ClassicBorderDecorator.ClassicBorderBrush}" /> |
|
|
|
<Setter Property="BorderBrush" Value="{DynamicResource borderBrush}" /> |
|
|
|
<Setter Property="BorderThickness" Value="1" /> |
|
|
|
<Setter Property="Padding" Value="0" /> |
|
|
|
<Setter Property="Foreground" Value="{DynamicResource foreground}" /> |
|
|
@@ -519,9 +511,10 @@ |
|
|
|
<ControlTemplate TargetType="{x:Type TextBox}"> |
|
|
|
<Themes1:ClassicBorderDecorator |
|
|
|
x:Name="Bd" |
|
|
|
BorderBrush="{DynamicResource borderBrush}" |
|
|
|
BorderStyle="None" |
|
|
|
BorderThickness="1"> |
|
|
|
Background="{TemplateBinding Background}" |
|
|
|
BorderBrush="{TemplateBinding BorderBrush}" |
|
|
|
BorderThickness="{TemplateBinding BorderThickness}"> |
|
|
|
<ScrollViewer x:Name="PART_ContentHost" /> |
|
|
|
</Themes1:ClassicBorderDecorator> |
|
|
|
<ControlTemplate.Triggers> |
|
|
@@ -758,14 +751,10 @@ |
|
|
|
SnapsToDevicePixels="True"> |
|
|
|
<Grid> |
|
|
|
<Image |
|
|
|
Width="12" |
|
|
|
Height="14" |
|
|
|
Source="../Images/Cb_HalfChecked.png" /> |
|
|
|
Source="../Images/Cb_HalfChecked.png" Margin="0,8,2,8" VerticalAlignment="Center" /> |
|
|
|
<Image |
|
|
|
x:Name="image1" |
|
|
|
Width="12" |
|
|
|
Height="14" |
|
|
|
Source="../Images/Cb_HalfChecked.png" /> |
|
|
|
Source="../Images/Cb_HalfChecked.png" Margin="0,8,2,8" VerticalAlignment="Center" /> |
|
|
|
</Grid> |
|
|
|
<ContentPresenter |
|
|
|
Margin="{TemplateBinding Padding}" |
|
|
@@ -1505,23 +1494,13 @@ |
|
|
|
<ControlTemplate TargetType="{x:Type RadioButton}"> |
|
|
|
<BulletDecorator VerticalAlignment="Center" Background="Transparent"> |
|
|
|
<BulletDecorator.Bullet> |
|
|
|
<Grid> |
|
|
|
<Ellipse |
|
|
|
x:Name="Border" |
|
|
|
Width="10" |
|
|
|
Height="10" |
|
|
|
Fill="{TemplateBinding Background}" /> |
|
|
|
<Ellipse |
|
|
|
x:Name="Dot" |
|
|
|
Width="5" |
|
|
|
Height="5" |
|
|
|
Fill="#ff8a03" |
|
|
|
Visibility="Hidden" /> |
|
|
|
<Grid Height="{TemplateBinding Height}" Width="{TemplateBinding Height}"> |
|
|
|
<Ellipse x:Name="Border" Margin="0,5,10,5" Fill="{TemplateBinding Background}" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="{TemplateBinding BorderThickness}"/> |
|
|
|
<Ellipse x:Name="Dot" Width="{Binding Width,ElementName=Border}" Height="{Binding Height,ElementName=Border}" Margin="0,5,10,5" Fill="{TemplateBinding Foreground}" /> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
</BulletDecorator.Bullet> |
|
|
|
<ContentPresenter |
|
|
|
Margin="{TemplateBinding Padding}" |
|
|
|
Margin="-5,0,0,0" |
|
|
|
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" |
|
|
|
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" |
|
|
|
RecognizesAccessKey="True" /> |
|
|
|