try abc

try abc

  • NA
  • 199
  • 410.1k

Problem with Listview Backcolor Property

Feb 13 2008 11:37 PM
Hello all,
I have use the Following code...


if (flag == true)
{

((ListView)cntrl).Enabled = false;
((ListView)cntrl).BackColor = Color.White;
}
else
{
((ListView)cntrl).Enabled = true;
}


After enabling Listview to false, the backcolor changes to Default Control. instaead of white which i set... what is happninh here.. does any perooprty is remaining to change???



Answers (3)