Is it possible to change the background color of the selected item in a CheckBoxList?
Something like this:
foreach (var item_select in checkBoxList1.CheckedItems)
{
checkBoxList1.Items[item_select].BackColor = Color.SeaGreen;
}
But this:
checkBoxList1.Items[item_select].BackColor = Color.SeaGreen;
does not exist . And if I do so:checkBoxList1.BackColor = Color.SeaGreen;
then I will shade theCheckBoxList
complete.
Any ideas?
Environment: Visual Studio 2010 & .NET Netframework 4.