Nie możesz wybrać więcej, niż 25 tematów
Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
|
- <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="NewButtonStyle" TargetType="local:IcoButton">
- <Setter Property="FontFamily" Value="../Fonts/#iconfont" />
- <Setter Property="FontSize" Value="14" />
- <Setter Property="Background" Value="Transparent" />
- <Setter Property="BorderBrush" Value="#ff19b7ec" />
- <Setter Property="BorderThickness" Value="2" />
- <Setter Property="EnterBackground" Value="#2219b7ec" />
- </Style>
-
- </ResourceDictionary>
|