Alternativ ItemTemplate for RadComboBox

2 posts, 0 answers
  1. Lars Johansen
    Lars Johansen avatar
    31 posts
    Member since:
    Oct 2009

    Posted 20 Oct 2009 Link to this post

    Hi,

    I'm a newbee - so bare with me.

    I would like to change the background color for every even(alt) ComboBoxItem in the ComboBox

    I'm using a Custom List<T> object as ItemsSource (Simply 3 public properties containing strings)
    I'm using a XAML DataTemplate as the ItemTemplate.
    telerik:TextSearch.TextPath="Name" is setup and working for autocomplete.

    Is this possible ?

    /Lars

    Using RadControls for Silverlight 2009.2 812
  2. Lars Johansen
    Lars Johansen avatar
    31 posts
    Member since:
    Oct 2009

    Posted 22 Oct 2009 Link to this post

    I found my self a work around:

    I used the IValueConverter Interface together with a Global Variable.

    If anyone is interested let me know - I would provide you with an example.

    /Lars
Back to Top