I was looking for how to change the text color of a selected item in a list that has lost focus.
<SolidColorBrush x:Key="{x:Static SystemColors.HighlightBrushKey}" Color="Transparent"/> <SolidColorBrush x:Key="{x:Static SystemColors.ControlBrushKey}" Color="Transparent"/> <SolidColorBrush x:Key="{x:Static SystemColors.HighlightTextBrushKey}" Color="Orange"/>
These three tags do most of the work, but there is a black background on my list, and when the control loses focus, the font becomes black.
I found this list from another SystemColor post. Keys , which gives a ton of possible options from this list, and everything that seems remotely intuitive did not work. Does anyone know the key I need to change?
styles wpf listbox selecteditem
Mike Van Alstine Jun 24 '10 at 16:10 2010-06-24 16:10
source share