Foreground of items of a particular type

2 posts, 0 answers
  1. Paolo
    Paolo avatar
    426 posts
    Member since:
    Jun 2009

    Posted 08 Oct 2010 Link to this post

    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??
  2. Dani
    Dani avatar
    848 posts

    Posted 11 Oct 2010 Link to this post

    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,
    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
Back to Top