3
Answers

Problem with Listview Backcolor Property

Ask a question
try abc

try abc

16y
11.5k
1
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)