1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
- <Style x:Key="ButtonStyle" TargetType="Button">
- <Setter Property="Background" Value="#DCDCDC"/>
- <Setter Property="BorderBrush" Value="#696969"/>
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="Button">
- <Border CornerRadius="5" BorderThickness="1" BorderBrush="{TemplateBinding BorderBrush}" Background="{TemplateBinding Background}">
- <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" Content="{TemplateBinding Content}"/>
- </Border>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- <Style.Triggers>
- <Trigger Property="IsMouseOver" Value="True">
- <Setter Property="Background" Value="#ADD8E6"/>
- <Setter Property="BorderBrush" Value="#708090"/>
- <Setter Property="Cursor" Value="Hand"/>
- </Trigger>
- </Style.Triggers>
- </Style>
- <Style x:Key="LabaelStyle" TargetType="Label">
- <Setter Property="FontFamily" Value="Arial"/>
- <Setter Property="FontSize" Value="23"/>
- <Setter Property="Foreground" Value="Black"/>
- </Style>
- <Style x:Key="ImageStyle" TargetType="Image">
- <Setter Property="Height" Value="22"/>
- <Setter Property="Width" Value="25"/>
- <Setter Property="Cursor" Value="Hand"/>
- </Style>
- <LinearGradientBrush x:Key="BackgroundStyle" EndPoint="0.5,1" StartPoint="0.5,0">
- <GradientStop Color="#FFF3F3F3" Offset="1"/>
- <GradientStop Color="#FF89D7DA" Offset="0"/>
- </LinearGradientBrush>
- </ResourceDictionary>
|