RadCheckBox Forecolor

3 posts, 0 answers
  1. Chris
    Chris avatar
    6 posts
    Member since:
    Jun 2007

    Posted 01 Dec 2008 Link to this post

    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. Nikolay
    Admin
    Nikolay avatar
    1805 posts

    Posted 02 Dec 2008 Link to this post

    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.
  3. Chris
    Chris avatar
    6 posts
    Member since:
    Jun 2007

    Posted 02 Dec 2008 Link to this post

    That's what we needed. Thanks for the fast response. You guys are great!!!
Back to Top