RadComboBox Item Background

3 posts, 0 answers
  1. Pieter Jan Verfaillie
    Pieter Jan Verfaillie avatar
    11 posts
    Member since:
    Dec 2009

    Posted 19 Jan 2010 Link to this post

    Hello all,


    I'm trying to set the background of an RadComboBoxItem dynamically in code according to certain rules.

    I've tried following code, but that doesn't work:

                           comboboxItem.Background = new SolidColorBrush(Colors.Red);

    Could someone please help me on this one?


    Thanx in advance,

    Pieter Jan
  2. Pana
    Admin
    Pana avatar
    748 posts

    Posted 20 Jan 2010 Link to this post

    Hello Pieter,

    The combobox item misses it's TemplateBinding to Background. We will fix this ASAP so I think it will be released in the next internal build. If you prefer to stay with officially released DLLs than I can send you just the fixes for the RadComboBoxItem's template. In that case I will need to know what theme you are using.

    Sorry for the inconvenience.

    Kind regards,
    Panayot
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Pieter Jan Verfaillie
    Pieter Jan Verfaillie avatar
    11 posts
    Member since:
    Dec 2009

    Posted 22 Jan 2010 Link to this post


    Ok. Thank you for your reply. I'll wait for the next release and will try to use a different technique.

    Greetings,
    Pieter Jan
Back to Top