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
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.