Label.xaml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  2. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  3. <Style x:Key="LabelDefault" BasedOn="{StaticResource LabelBaseStyle}" TargetType="Label">
  4. <Setter Property="Foreground" Value="{DynamicResource PrimaryTextBrush}"/>
  5. <Setter Property="BorderThickness" Value="1"/>
  6. </Style>
  7. <Style BasedOn="{StaticResource LabelDefault}" TargetType="Label" />
  8. <Style x:Key="LabelDefault.Small" BasedOn="{StaticResource LabelDefault}" TargetType="Label">
  9. <Setter Property="Height" Value="20" />
  10. <Setter Property="Padding" Value="6,0" />
  11. </Style>
  12. <Style x:Key="LabelPrimary" BasedOn="{StaticResource LabelBaseStyle}" TargetType="Label">
  13. <Setter Property="Background" Value="{DynamicResource PrimaryBrush}"/>
  14. </Style>
  15. <Style x:Key="LabelPrimary.Small" BasedOn="{StaticResource LabelPrimary}" TargetType="Label">
  16. <Setter Property="Height" Value="20" />
  17. <Setter Property="Padding" Value="6,0" />
  18. </Style>
  19. <Style x:Key="LabelSuccess" BasedOn="{StaticResource LabelBaseStyle}" TargetType="Label">
  20. <Setter Property="Background" Value="{DynamicResource SuccessBrush}"/>
  21. </Style>
  22. <Style x:Key="LabelSuccess.Small" BasedOn="{StaticResource LabelSuccess}" TargetType="Label">
  23. <Setter Property="Height" Value="20" />
  24. <Setter Property="Padding" Value="6,0" />
  25. </Style>
  26. <Style x:Key="LabelInfo" BasedOn="{StaticResource LabelBaseStyle}" TargetType="Label">
  27. <Setter Property="Background" Value="{DynamicResource InfoBrush}"/>
  28. </Style>
  29. <Style x:Key="LabelInfo.Small" BasedOn="{StaticResource LabelInfo}" TargetType="Label">
  30. <Setter Property="Height" Value="20" />
  31. <Setter Property="Padding" Value="6,0" />
  32. </Style>
  33. <Style x:Key="LabelWarning" BasedOn="{StaticResource LabelBaseStyle}" TargetType="Label">
  34. <Setter Property="Background" Value="{DynamicResource WarningBrush}"/>
  35. </Style>
  36. <Style x:Key="LabelWarning.Small" BasedOn="{StaticResource LabelWarning}" TargetType="Label">
  37. <Setter Property="Height" Value="20" />
  38. <Setter Property="Padding" Value="6,0" />
  39. </Style>
  40. <Style x:Key="LabelDanger" BasedOn="{StaticResource LabelBaseStyle}" TargetType="Label">
  41. <Setter Property="Background" Value="{DynamicResource DangerBrush}" />
  42. </Style>
  43. <Style x:Key="LabelDanger.Small" BasedOn="{StaticResource LabelDanger}" TargetType="Label">
  44. <Setter Property="Height" Value="20" />
  45. <Setter Property="Padding" Value="6,0" />
  46. </Style>
  47. </ResourceDictionary>