Skip to content

Commit

Permalink
Update ModernListBoxBaseStyles.xaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ghost1372 committed Mar 11, 2022
1 parent ffa1660 commit 65ffe27
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,12 @@
</Style>

<Style x:Key="ListBoxItemBaseTransparent" BasedOn="{StaticResource ListBoxItemBaseStyle}" TargetType="ListBoxItem">
<Setter Property="hc:BorderElement.CornerRadius" Value="4"/>
<Setter Property="Visibility" Value="{Binding IsVisible,Converter={StaticResource Boolean2VisibilityConverter}}"/>
<Setter Property="Background" Value="Transparent"/>
</Style>

<Style x:Key="ListBoxBaseTransparentStyle" BasedOn="{StaticResource ListBoxBaseStyle}" TargetType="ListBox">
<Setter Property="hc:BorderElement.CornerRadius" Value="4"/>
<Setter Property="Background" Value="Transparent"/>
<Setter Property="ItemContainerStyle" Value="{StaticResource ListBoxItemBaseTransparent}"/>
</Style>
Expand Down

0 comments on commit 65ffe27

Please sign in to comment.