开发者

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜