Silverlight ComboBox: Make Selected item Bold?
I would like to be able to make the s开发者_如何学Pythonelected item in a Silverlight ComboBox
appear in bold -- what's the best way to go about doing this?
Thanks!
Set a style for ItemContainerStyle for TargetType="ComboBoxItem"
and include a storyboard for the Selected VisualState.
Default Styles for a ComboBox
You should be able to fairly easily modify these default styles to set an item to bold when it is in the selected state.
精彩评论