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

RadCheckBox Forecolor

2 Answers 117 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 01 Dec 2008, 08:33 PM
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

Sort by
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.
0
Chris
Top achievements
Rank 1
answered on 02 Dec 2008, 04:20 PM
That's what we needed. Thanks for the fast response. You guys are great!!!
Tags
General Discussions
Asked by
Chris
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Chris
Top achievements
Rank 1
Share this question
or