I'm trying to use your ComboBoxElement control inside a RibbonBar.
My goal is to create a combo box "color picker" where the user would click on the drop down menu and each of the items would have it's own color. Here's what I have tried:
// this returns all the color in the Color struct
Color systemColors = GetAllColors();
for (int i = 0; i < systemColors.Length; i++)
RadComboBoxItem item = new RadComboBoxItem();
item.ForeColor = systemColors[i];
item.Text = systemColors[i].Name;
item.BackColor = systemColors[i];
This doesn't work though. The ForeColor property works but not the BackColor. The BackColor is always White.
Can you help?