|
|
@@ -436,6 +436,16 @@ |
|
|
|
</Style.Setters> |
|
|
|
</Style> |
|
|
|
|
|
|
|
<Style x:Key="border界面背景" TargetType="Border"> |
|
|
|
<Style.Setters> |
|
|
|
<Setter Property="Background"> |
|
|
|
<Setter.Value> |
|
|
|
<ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/顶部切图/窗体背景2.png"/> |
|
|
|
</Setter.Value> |
|
|
|
</Setter> |
|
|
|
</Style.Setters> |
|
|
|
</Style> |
|
|
|
|
|
|
|
<Style x:Key="border顶部标题背景" TargetType="Border"> |
|
|
|
<Style.Setters> |
|
|
|
<Setter Property="Background"> |
|
|
@@ -747,6 +757,59 @@ |
|
|
|
</Setter> |
|
|
|
</Style.Setters> |
|
|
|
</Style> |
|
|
|
|
|
|
|
<Style x:Key="CommonBtn_返回" TargetType="Button"> |
|
|
|
<Style.Setters> |
|
|
|
<Setter Property="VerticalContentAlignment" Value="Center"></Setter> |
|
|
|
<Setter Property="Cursor" Value="Hand"></Setter> |
|
|
|
<Setter Property="Foreground" Value="{DynamicResource foreground}"></Setter> |
|
|
|
<Setter Property="Width" Value="68"></Setter> |
|
|
|
<Setter Property="Height" Value="25"></Setter> |
|
|
|
<Setter Property="Template"> |
|
|
|
<Setter.Value> |
|
|
|
<ControlTemplate TargetType="Button"> |
|
|
|
<Border x:Name="BD" Cursor="Hand"> |
|
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Margin="5,0,10,0"> |
|
|
|
<Border Width="16" Margin="5"> |
|
|
|
<Border.Background> |
|
|
|
<ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/顶部切图/返回按钮图标.png"/> |
|
|
|
</Border.Background> |
|
|
|
</Border> |
|
|
|
<TextBlock x:Name="textBlock" VerticalAlignment="Center" FontSize="14" Text="{TemplateBinding Content}" Foreground="#4fade8" /> |
|
|
|
<!--Text="{TemplateBinding Content}"--> |
|
|
|
</StackPanel> |
|
|
|
</Border> |
|
|
|
<ControlTemplate.Triggers> |
|
|
|
<Trigger Property="IsMouseOver" Value="true"> |
|
|
|
<Setter TargetName="BD" Property="Background"> |
|
|
|
<Setter.Value> |
|
|
|
<ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/顶部切图/返回按钮2.png"/> |
|
|
|
</Setter.Value> |
|
|
|
</Setter> |
|
|
|
<Setter TargetName="textBlock" Property="Foreground" Value="#4fade8" /> |
|
|
|
</Trigger> |
|
|
|
<Trigger Property="IsMouseOver" Value="False"> |
|
|
|
<Setter TargetName="BD" Property="Background"> |
|
|
|
<Setter.Value> |
|
|
|
<ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/顶部切图/返回按钮1.png"/> |
|
|
|
</Setter.Value> |
|
|
|
</Setter> |
|
|
|
<Setter TargetName="textBlock" Property="Foreground" Value="#4fade8" /> |
|
|
|
</Trigger> |
|
|
|
<Trigger Property="IsEnabled" Value="False"> |
|
|
|
<Setter TargetName="BD" Property="Background"> |
|
|
|
<Setter.Value> |
|
|
|
<ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/buttonOn.png"/> |
|
|
|
</Setter.Value> |
|
|
|
</Setter> |
|
|
|
<Setter TargetName="textBlock" Property="Foreground" Value="#3afdff" /> |
|
|
|
</Trigger> |
|
|
|
</ControlTemplate.Triggers> |
|
|
|
</ControlTemplate> |
|
|
|
</Setter.Value> |
|
|
|
</Setter> |
|
|
|
</Style.Setters> |
|
|
|
</Style> |
|
|
|
|
|
|
|
<Style TargetType="Button"> |
|
|
|
<Style.Setters> |
|
|
|