|
|
|
@ -1,4 +1,5 @@ |
|
|
|
<Style xmlns="https://github.com/avaloniaui" Selector="ListBox"> |
|
|
|
<Styles xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> |
|
|
|
<Style Selector="ListBox"> |
|
|
|
<Setter Property="Background" Value="{DynamicResource ThemeBackgroundBrush}"/> |
|
|
|
<Setter Property="BorderBrush" Value="{DynamicResource ThemeBorderMidBrush}"/> |
|
|
|
<Setter Property="BorderThickness" Value="{DynamicResource ThemeBorderThickness}"/> |
|
|
|
@ -7,7 +8,7 @@ |
|
|
|
<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto"/> |
|
|
|
<Setter Property="Template"> |
|
|
|
<ControlTemplate> |
|
|
|
<Border BorderBrush="{TemplateBinding BorderBrush}" |
|
|
|
<Border Name="border" BorderBrush="{TemplateBinding BorderBrush}" |
|
|
|
BorderThickness="{TemplateBinding BorderThickness}"> |
|
|
|
<ScrollViewer Name="PART_ScrollViewer" |
|
|
|
Background="{TemplateBinding Background}" |
|
|
|
@ -23,4 +24,8 @@ |
|
|
|
</Border> |
|
|
|
</ControlTemplate> |
|
|
|
</Setter> |
|
|
|
</Style> |
|
|
|
</Style> |
|
|
|
<Style Selector="ListBox:disabled /template/ Border#border"> |
|
|
|
<Setter Property="Opacity" Value="{DynamicResource ThemeDisabledOpacity}" /> |
|
|
|
</Style> |
|
|
|
</Styles> |
|
|
|
|