终端一体化运控平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

66 lines
3.2 KiB

  1. <ResourceDictionary
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:converter="clr-namespace:BPASmartClient.MorkCL.Converter">
  5. <ResourceDictionary.MergedDictionaries>
  6. <ResourceDictionary Source="/BPASmartClient.CustomResource;component/Themes/GenricStyle.xaml" />
  7. <ResourceDictionary Source="/BPASmartClient.CustomResource;component/Themes/MyStyle.xaml" />
  8. <ResourceDictionary Source="/BPASmartClient.CustomResource;component/Recdictionarys/GlobalStyle.xaml" />
  9. </ResourceDictionary.MergedDictionaries>
  10. <Style x:Key="DataShowTextBoxStyle" TargetType="TextBox">
  11. <Setter Property="Margin" Value="5,0,0,0" />
  12. <Setter Property="BorderThickness" Value="0" />
  13. <Setter Property="HorizontalAlignment" Value="Center" />
  14. <Setter Property="Height" Value="50" />
  15. <Setter Property="CaretBrush" Value="{StaticResource TitleBorderColor}" />
  16. <Setter Property="Foreground" Value="{StaticResource TitleBorderColor}" />
  17. <Setter Property="VerticalContentAlignment" Value="Center" />
  18. <Setter Property="FontSize" Value="14" />
  19. <Setter Property="Background" Value="Transparent" />
  20. <Setter Property="VerticalAlignment" Value="Center" />
  21. </Style>
  22. <Style
  23. x:Key="IssueRecipeButtonStyle"
  24. BasedOn="{StaticResource ControlButtonStyle}"
  25. TargetType="Button">
  26. <Setter Property="Foreground" Value="{StaticResource FontColor}" />
  27. <Setter Property="Template">
  28. <Setter.Value>
  29. <ControlTemplate TargetType="Button">
  30. <Border
  31. Name="TitleBarBr"
  32. BorderBrush="#00c2f4"
  33. BorderThickness="0"
  34. CornerRadius="0"
  35. Opacity="0.8">
  36. <ContentPresenter
  37. Margin="{TemplateBinding Margin}"
  38. HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
  39. VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
  40. <Border.Background>
  41. <ImageBrush
  42. ImageSource="/BPASmartClient.CustomResource;component/Image/组合边框2.1.png"
  43. Opacity="0.8"
  44. Stretch="Fill" />
  45. </Border.Background>
  46. </Border>
  47. <ControlTemplate.Triggers>
  48. <Trigger Property="IsMouseOver" Value="true">
  49. <Setter TargetName="TitleBarBr" Property="Opacity" Value="1" />
  50. </Trigger>
  51. </ControlTemplate.Triggers>
  52. </ControlTemplate>
  53. </Setter.Value>
  54. </Setter>
  55. </Style>
  56. <Style x:Key="LeftAligentTextStyle" TargetType="TextBlock">
  57. <Setter Property="VerticalAlignment" Value="Center" />
  58. <Setter Property="HorizontalAlignment" Value="Left" />
  59. <Setter Property="Foreground" Value="{StaticResource FontColor}" />
  60. <Setter Property="FontSize" Value="20" />
  61. </Style>
  62. </ResourceDictionary>