<Style x:Key="jiaojiebanBtnStyle" TargetType="Button">
<Setter Property="Margin" Value="-1280,8,0,0"></Setter>
<Setter Property="Cursor" Value="Hand"></Setter>
<Setter Property="Opacity" Value=".98"></Setter>
<Setter Property="FontFamily" Value="宋体"></Setter>
<Setter Property="Width" Value="80"></Setter>
<Setter Property="Height" Value="60"></Setter>
<Setter Property="FontSize" Value="20"></Setter>
<Setter Property="Background" Value="#dd1144 "/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Button">
<Grid>
<Grid>
<!--按钮内容-->
<Grid>
<Canvas HorizontalAlignment="Left" VerticalAlignment="Top" Margin="5">
<!--<Line StrokeThickness="2" Stroke="White" X1="0" Y1="4" X2="8" Y2="4"></Line>-->
<Image Source="/HuoBao;component/Resources/Images/btn_jiaojieban1.png"></Image>
<TextBlock HorizontalAlignment="Center" FontSize="13" Margin="0,55,0,0" Foreground="White">交接班</TextBlock>
</Canvas>
</Grid>
</Grid>
</Grid>
<ControlTemplate.Triggers>
<Trigger Property="Button.IsMouseOver" Value="True">
<Setter Property="Opacity" Value="1" />
<!--<Setter Property="Background" Value="#095FB5"/>-->
<Setter Property="Background" Value="black"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>