Changing text foreground color on mouseover and selection with Silverlight 4 ListBox
问题 I'm trying to accomplish the following scenario with a Silverlight ListBox: Normal items have a foreground text color of black and background color of white Selected items have a foreground text color of white and a background color of dark blue On mouse-over the background becomes a orangish and the foreground text color is black I have each of those pieces working individually but can't get them all working together. I started by retemplating the ListBoxItem, wrapping the ContentPresenter