- <ResourceDictionary
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:local="clr-namespace:BPASmartClient.CustomResource.UserControls">
-
-
- <ControlTemplate x:Key="IcoButtonTemp" TargetType="Button">
- <Border
- x:Name="br"
- Background="Transparent"
- BorderBrush="#FF19B7EC"
- BorderThickness="2">
- <StackPanel
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Orientation="Horizontal">
- <ContentControl
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Content="{TemplateBinding Content}"
- Foreground="{TemplateBinding Foreground}" />
- </StackPanel>
- </Border>
- <ControlTemplate.Triggers>
- <Trigger Property="IsMouseOver" Value="True">
- <Setter TargetName="br" Property="Background" Value="#2219B7EC" />
- </Trigger>
-
- <Trigger Property="IsPressed" Value="true">
- <Setter TargetName="br" Property="Background" Value="#2219B7EC" />
- </Trigger>
-
- </ControlTemplate.Triggers>
- </ControlTemplate>
-
- <Style x:Key="IcoButtonStyle" TargetType="local:IcoButton">
- <Setter Property="FontFamily" Value="../Fonts/pic/#iconfont" />
- <Setter Property="FontSize" Value="14" />
- <!--<Setter Property="Background" Value="#2219b7ec" />
- <Setter Property="BorderBrush" Value="#ff19b7ec" />
- <Setter Property="BorderThickness" Value="2" />
- <Setter Property="EnterBackground" Value="#8819b7ec" />-->
- </Style>
-
- <Style x:Key="IcoTitleBarStyle" TargetType="local:IcoButton">
- <Setter Property="FontFamily" Value="../Fonts/#iconfont" />
- <Setter Property="FontSize" Value="24" />
- <Setter Property="Background" Value="Transparent" />
- <Setter Property="BorderThickness" Value="0" />
- <Setter Property="EnterBackground" Value="#33ffffff" />
- </Style>
-
-
-
- </ResourceDictionary>
|