Change the Selected Color Listbox

后端 未结 2 896
醉话见心
醉话见心 2020-12-18 09:40

I want to change the Selected Background and have it display a gradient with round corners. I\'ve searched Google and found that some people do change the selected color by

2条回答
  •  难免孤独
    2020-12-18 10:21

    Here is the default style for a ListBoxItem (which is what we want to change). This style can be "retrieved" if you are using Expression Blend 4 by right clicking on a listboxitem in the Objects and Timelines control.

    
    

    Let's pull out some important parts so that you learn to do this yourself.