Change the hightlight item color


<ListBox>
<ListBox.Resources>
<SolidColorBrush Color="Red" x:Key="{x:Static SystemColors.HighlightBrushKey}"/>
</ListBox.Resources>
<ListBoxItem Content="Item #1"/>
<ListBoxItem Content="Item #2"/>
<ListBoxItem Content="Item #3"/>
<ListBoxItem Content="Item #4"/>
</ListBox>
原文地址:https://www.cnblogs.com/ysharp/p/2025833.html