ListView: set "BackColor" in a SubItem
C#
2
Posts
2
Posters
0
Views
1
Watching
-
I have a problem: if (radioButton1.Checked) a.SubItems[1].BackColor = Color.Green; else if (radioButton2.Checked) a.SubItems[1].BackColor = Color.Orange; else if (radioButton3.Checked) a.SubItems[1].BackColor = Color.Red; else if (radioButton4.Checked) a.SubItems[1].BackColor = Color.White; if i execute that code, the subitem don't change the color how works??
-
I have a problem: if (radioButton1.Checked) a.SubItems[1].BackColor = Color.Green; else if (radioButton2.Checked) a.SubItems[1].BackColor = Color.Orange; else if (radioButton3.Checked) a.SubItems[1].BackColor = Color.Red; else if (radioButton4.Checked) a.SubItems[1].BackColor = Color.White; if i execute that code, the subitem don't change the color how works??