I am not able to set the forecolor of the RadCheckBox and then have it show when I run the form. I am doing this on a brand new, unmodified form with just the RadCheckBox on it.
What am I doing wrong?
What do I need to set to have the forecolor show?
Thanks, Chris
2 Answers, 1 is accepted
0
Nikolay
Telerik team
answered on 02 Dec 2008, 12:58 PM
Hi Chris,
Thank you for the question.
The behavior experienced is an issue and we will address it in one of our next versions. For the time being, there are two approaches to set the ForeColor:
Design-time. Click the Smart Tag of a RadCheckBox to open the Action List menu. Choose Edit UI Elements to open the Element Hierarchy Editor and navigate to the RadCheckBoxElement in the elements tree. Set the ForeColor in the property builder.
Runtime. In the form contructor set the ForeColor of RadCheckBox control:
public Form1()
{
InitializeComponent();
this.radCheckBox2.ForeColor = Color.Green;
}
If you have additional questions, feel free to contact me.
Greetings,
Nikolay
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.