SeparatorStyle.xaml 1.1 KB

1234567891011121314151617181920212223
  1. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  2. <Style
  3. x:Key="VerticalSeparatorStyle"
  4. BasedOn="{StaticResource {x:Static ToolBar.SeparatorStyleKey}}"
  5. TargetType="{x:Type Separator}">
  6. <Setter Property="Background" Value="{StaticResource color.sys.layout.divider}" />
  7. <Setter Property="Height" Value="16" />
  8. <Setter Property="Width" Value="1" />
  9. <Setter Property="HorizontalAlignment" Value="Stretch" />
  10. <Setter Property="Margin" Value="12,0" />
  11. </Style>
  12. <Style
  13. x:Key="HorizontalSeparatorStyle"
  14. BasedOn="{StaticResource {x:Static ToolBar.SeparatorStyleKey}}"
  15. TargetType="{x:Type Separator}">
  16. <Setter Property="Background" Value="{StaticResource color.sys.layout.divider}" />
  17. <Setter Property="Height" Value="1" />
  18. <Setter Property="HorizontalAlignment" Value="Stretch" />
  19. <Setter Property="Margin" Value="8,4" />
  20. </Style>
  21. </ResourceDictionary>