I want to change the background of DropDown list in windows application. with the help of
Ddl.BackColor =Color.Aqua; i am able to set the Background od Ddl but when i set Ddl property as Enable=false then its not working. kindly give so idea how can i change the background color of Ddl when Ddl.enable=false.
Thnak in advance.

Satyapriya NayakPosted Jan 14, 2014, 4:40 AM
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Combobox
{
public partial class Form2 : Form
{
public Form2()
{
InitializeComponent();
}
private void Form2_Load(object sender, EventArgs e)
{
comboBox1.Enabled = false;
comboBox1.BackColor = Color.Aqua;
comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
}
}
}
Anubhav ChaudharyPosted Jan 14, 2014, 3:18 AM
You can try this on Page Load Event:
TextBox1.Enabled = false;
TextBox1.ForeColor = System.Drawing.Color.Black;
Dhirendra MisraPosted Jan 14, 2014, 2:43 AM
There is similar post.
Please check.
http://p2p.wrox.com/c/33970-combobox-backcolor-change.html