Overriding SystemColors in local Resources dictionary
问题 I'm trying to hide the visual hints that indicate selection in a WPF ListBox . This answer suggests this should work by overriding the SystemColors for that ListBox . I created a new WPF project and edited the MainWindow.xaml like this: <Window x:Class="WpfListboxWithoutSelection.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http:/