Inactive Color

3 posts, 0 answers
  1. Andrés
    Andrés avatar
    6 posts
    Member since:
    Nov 2012

    Posted 17 Dec 2012 Link to this post

    Hi;

    How I Can change backgroudcolor and fore color when enable = false in a RadDropDownList? text contrast with the background is very bad.

    regards.
  2. Plamen
    Admin
    Plamen avatar
    132 posts

    Posted 18 Dec 2012 Link to this post

    Hi Andrés,

    Thank you for writing.

    In case that you want to set the back color of the text box hosted in RadDropDownList you should use the following code snippet:
    this.radDropDownList1.DropDownListElement.TextBox.Fill.BackColor = Color.Yellow;
    this.radDropDownList1.DropDownListElement.TextBox.BackColor = Color.Yellow;
     
    //For DropDownStyle = DropDownList
    this.radDropDownList1.DropDownListElement.EditableElement.BackColor = Color.Yellow;

    This can be also set via Visual Style Builder by modifying the theme that you are using.

    I hope this helps.

    Greetings,
    Plamen
    the Telerik team
    Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Andrés
    Andrés avatar
    6 posts
    Member since:
    Nov 2012

    Posted 19 Dec 2012 Link to this post

    Hi;

    Thanks for your answer is perfect!

    Regards
Back to Top