去除选中控件后的虚线

This commit is contained in:
liufei
2021-12-20 10:59:37 +08:00
parent caf75e2427
commit 0f6119c0ba
3 changed files with 4 additions and 0 deletions

View File

@@ -19,6 +19,7 @@
<Setter Property="Source" Value="{Binding BitmapImage}"/>
</Style>
<Style x:Key="MyListBoxItemStyle" TargetType="{x:Type ListBoxItem}">
<Setter Property="FocusVisualStyle" Value="{x:Null}" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type ListBoxItem}">