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

Foreground of items of a particular type

1 Answer 37 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Michele
Top achievements
Rank 2
Michele asked on 08 Oct 2010, 09:48 AM
Hello,
it's possible to have some items of a combobox with a particular forecolor based on an item's property? for example on an IDType? need I to use a Converter??
Thanks

1 Answer, 1 is accepted

Sort by
0
Dani
Telerik team
answered on 11 Oct 2010, 07:32 AM
Hello Paolo,

Thank you for your inquiry.

Yes, you could have combobox items with different foreground color.

You can use the ItemTemplateSelector property of RadComboBox to provide a different DataTemplate based on your custom logic. I think you may find this article on TemplateSelectors useful.
Also, you may have a look at this additional article.

If you need further assistance or have further questions, please contact us again.


All the best,
Dani
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
Michele
Top achievements
Rank 2
Answers by
Dani
Telerik team
Share this question
or