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

RadComboBox Item Background

2 Answers 56 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Pieter Jan Verfaillie
Top achievements
Rank 1
Pieter Jan Verfaillie asked on 19 Jan 2010, 04:23 PM
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 Answers, 1 is accepted

Sort by
0
Pana
Telerik team
answered on 20 Jan 2010, 02:53 PM
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.
0
Pieter Jan Verfaillie
Top achievements
Rank 1
answered on 22 Jan 2010, 12:14 PM

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

Greetings,
Pieter Jan
Tags
ComboBox
Asked by
Pieter Jan Verfaillie
Top achievements
Rank 1
Answers by
Pana
Telerik team
Pieter Jan Verfaillie
Top achievements
Rank 1
Share this question
or