Style.xaml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <Style x:Key="ListItem" TargetType="TextBlock">
  2. <Setter Property="Margin" Value="10,-13.5,5,15" />
  3. <Setter Property="TextWrapping" Value="Wrap" />
  4. <Setter Property="HorizontalAlignment" Value="Left" />
  5. <Setter Property="FontSize" Value="14" />
  6. <Setter Property="Foreground" Value="Black" />
  7. </Style>
  8. <Style x:Key="ListItemLink" TargetType="local:MyTextButton">
  9. <Setter Property="Margin" Value="15,-15,5,15" />
  10. <Setter Property="TextElement.FontSize" Value="20" />
  11. </Style>
  12. <Style x:Key="ListStyle" TargetType="StackPanel">
  13. <Setter Property="Margin" Value="22,0,14,5" />
  14. </Style>
  15. <Style TargetType="TextBox">
  16. <Setter Property="Background" Value="{x:Null}" />
  17. <Setter Property="Padding" Value="3,0,3,0" />
  18. <Setter Property="IsReadOnly" Value="True" />
  19. <Setter Property="BorderBrush" Value="{x:Null}" />
  20. </Style>
  21. <Style x:Key="imgTitle" TargetType="TextBlock">
  22. <Setter Property="FontSize" Value="14" />
  23. <Setter Property="Foreground" Value="#FF777777" />
  24. <Setter Property="HorizontalAlignment" Value="Center" />
  25. <Setter Property="Margin" Value="0,0,0,15" />
  26. </Style>
  27. <!--footnote-->
  28. <Style x:Key="footnote" TargetType="TextBlock">
  29. <Setter Property="FontSize" Value="14" />
  30. <Setter Property="Padding" Value="30,0" />
  31. <Setter Property="Margin" Value="0,20,0,15" />
  32. <Setter Property="Foreground" Value="#FF777777" />
  33. <Setter Property="TextWrapping" Value="Wrap" />
  34. </Style>
  35. <!--ButtonNameBorder-->
  36. <!--ImageButtonStyle-->
  37. <Style x:Key="ImgBtnImg" TargetType="Image">
  38. <Setter Property="MaxWidth" Value="70px" />
  39. <Setter Property="MaxHeight" Value="70px" />
  40. <Setter Property="Margin" Value="3" />
  41. </Style>
  42. <Style x:Key="ImgBtnBdr" TargetType="Border">
  43. <Setter Property="Background" Value="{DynamicResource ColorBrush7}" />
  44. <Setter Property="BorderBrush" Value="{DynamicResource ColorBrush3}" />
  45. <Setter Property="BorderThickness" Value="2px" />
  46. <Setter Property="CornerRadius" Value="5" />
  47. <Setter Property="Margin" Value="2px" />
  48. </Style>
  49. <Style x:Key="NameBdr" TargetType="Border">
  50. <Setter Property="Background" Value="{DynamicResource ColorBrush3}" />
  51. <Setter Property="BorderThickness" Value="0" />
  52. <Setter Property="CornerRadius" Value="5,5,0,0" />
  53. <Setter Property="Margin" Value="-2,-2,-2,2" />
  54. </Style>
  55. <Style x:Key="ImgBtnTxt" TargetType="TextBlock">
  56. <Setter Property="HorizontalAlignment" Value="Center" />
  57. <Setter Property="VerticalAlignment" Value="Center" />
  58. <Setter Property="Grid.Row" Value="0" />
  59. <Setter Property="Foreground" Value="{DynamicResource ColorBrush7}" />
  60. <Setter Property="FontSize" Value="12px" />
  61. <Setter Property="Margin" Value="8px,2px" />
  62. </Style>