I have a treeview in WPF. I want a different color when i select the treeviewitem.
Try following code. It should work.