<Style x:Key="workButtonStyle" TargetType="{x:Type Button}"> <Style.Triggers> <Trigger Property="IsMouseOver" Value="False"> <Setter Property="FontSiz... ...
<Style x:Key="workButtonStyle" TargetType="{x:Type Button}"> <Style.Triggers> <Trigger Property="IsMouseOver" Value="False"> <Setter Property="FontSize" Value="20"/> </Trigger> <Trigger Property="IsMouseOver" Value="True"> <Setter Property="FontSize" Value="30"/> </Trigger> </Style.Triggers> </Style>
<Style x:Key="CloseButtonStyle" TargetType="{x:Type Button}"> <Style.Triggers> <Trigger Property="IsMouseOver" Value="False"> <Setter Property="Content"> <Setter.Value> <Image Source="/AT;component/Resource/Images/CloseTrue.jpg"/> </Setter.Value> </Setter> </Trigger> <Trigger Property="IsMouseOver" Value="True"> <Setter Property="Content"> <Setter.Value> <Image Source="/AT;component/Resource/Images/Close.jpg"/> </Setter.Value> </Setter> </Trigger> </Style.Triggers> </Style>