Styling ComboBox- part 1

if we want to change the text that is displayed when user selects an item in the combobox, we have to change the ContentTemplate of the ContentPresenter in the Combobox Template

cb1.jpg

Attached is a sample(change .doc to .zip), which allows you to specify the template to be applied in the Tag property

comboboxsample2.doc

(update: added a thumb to the panel, which lets you resize the panel)

comboboxsample21.doc

Advertisements

3 thoughts on “Styling ComboBox- part 1

  1. Awesome ! I always thought this should be possible but never got around to trying it. Do you think there’s a way to make the drop down panel resizable and make the items in it rearrange themselves accordingly ?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s