This is a migrated thread and some comments may be shown as answers.

How alternate color in a ComboBox?

1 Answer 78 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Gilbert Figueroa
Top achievements
Rank 1
Gilbert Figueroa asked on 24 Feb 2010, 02:05 PM

To clarify items in the list of a combobox I need to alternate background color, like in a gridiew or similar.

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 01 Mar 2010, 07:47 AM
Hi Gilbert,

Thank you for contacting us.

Attached you will find a sample project in which is illustrated the use of ItemContainerStyleSelector property of the ComboBox. Via this property and a converter you can colour each odd and even item of the ComboBox in different colours.

Hope this helps.

If you have further questions please feel free to contact us again.

Best wishes,
Konstantina
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
ComboBox
Asked by
Gilbert Figueroa
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or