开发者

Silverlight ComboBox: Make Selected item Bold?

开发者 https://www.devze.com 2023-01-04 23:39 出处:网络
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?

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消