Thank you for writing.
As of Q2 2010 RadComboBox is an obsolete control and its successor is now called RadDropDownList
. Since I am not sure which one exactly you use, I will provide you with code for accessing the BorderPrimitives
of both controls:
radComboBox1.ComboBoxElement.ComboBoxBorder.ForeColor = Color.Red;
BorderPrimitive radDropDownListBorderPrimitive = (BorderPrimitive)radDropDownList1.DropDownListElement.Children;
radDropDownListBorderPrimitive.ForeColor = Color.Tomato;
As to your question regarding removing the SelectedItem
, such functionality is not possible. For this reason, I will suggest that you upgrade your combo boxes to the new RadDropDownList
. This will allow you to remove the SelectedItem
by setting the SelectedIndex
I hope this information addresses your question. Let me know if you need further assistance.
the Telerik team
Q3’10 SP1 of RadControls for WinForms is available for download
; also available is the Q1'11 Roadmap
for Telerik Windows Forms controls.