修改按钮样式
This commit is contained in:
@@ -20,14 +20,25 @@
|
|||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<LinearGradientBrush x:Key="BtnBG" Opacity="0.97">
|
<LinearGradientBrush x:Key="BtnBG" Opacity="0.97">
|
||||||
<GradientStop Color="#84fab0" Offset="0"/>
|
<GradientStop Color="White" Offset="0"/>
|
||||||
<GradientStop Color="#8fd3f4" Offset="1"/>
|
<GradientStop Color="White" Offset="1"/>
|
||||||
</LinearGradientBrush>
|
</LinearGradientBrush>
|
||||||
|
|
||||||
<!--按钮样式-->
|
<!--按钮样式-->
|
||||||
<Style x:Key="Btn1" TargetType="Button" BasedOn="{StaticResource ButtonInfo}">
|
<Style x:Key="Btn1" TargetType="Button" BasedOn="{StaticResource ButtonInfo}">
|
||||||
<Setter Property="Background" Value="{StaticResource BtnBG}"/>
|
<Setter Property="Background" Value="{StaticResource BtnBG}"/>
|
||||||
<Setter Property="Foreground" Value="Gray"/>
|
<Setter Property="BorderThickness" Value="1"/>
|
||||||
|
<Setter Property="BorderBrush">
|
||||||
|
<Setter.Value>
|
||||||
|
<SolidColorBrush Color="#E5E5E2"/>
|
||||||
|
</Setter.Value>
|
||||||
|
</Setter>
|
||||||
|
<Setter Property="Foreground" Value="Black"/>
|
||||||
|
<Style.Triggers>
|
||||||
|
<Trigger Property="IsMouseOver" Value="True">
|
||||||
|
<Setter Property="Background" Value="#E5E5E2"/>
|
||||||
|
</Trigger>
|
||||||
|
</Style.Triggers>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<!--菜单样式-->
|
<!--菜单样式-->
|
||||||
|
|||||||
Reference in New Issue
Block a user