|
@@ -34,6 +34,16 @@
|
|
|
<Setter Property="Background" Value="Bisque"/>
|
|
|
</Style>
|
|
|
|
|
|
-
|
|
|
+ <ControlTemplate TargetType="Button" x:Key="Template1">
|
|
|
+ <Border BorderBrush="Aqua" BorderThickness="3" x:Name="border">
|
|
|
+ <ContentControl Content="{TemplateBinding Content}"/>
|
|
|
+ </Border>
|
|
|
+ <ControlTemplate.Triggers>
|
|
|
+ <Trigger Property="IsMouseOver" Value="true">
|
|
|
+ <Setter TargetName="border" Property="BorderThickness" Value="10"/>
|
|
|
+ </Trigger>
|
|
|
+ </ControlTemplate.Triggers>
|
|
|
+ </ControlTemplate>
|
|
|
+
|
|
|
</Application.Resources>
|
|
|
</Application>
|