I am trying to change a TreeViewItem background color when it selected but lost focus.
I saw some similar questions like:
WPF TreeViewItem Background
, but I couldn\'t use it...
In reference to this other post, the ControlBrushKey did not work for me. The InactiveSelectionHighlightBrushKey did, however. Also setting the InactiveSelectionHighlightTextBrushKey got around the changing text color.