8 writes to BackColor
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListView\ListViewItem.cs (1)
298set => SubItems[0].BackColor = value;
System.Windows.Forms.Tests (7)
System\Windows\Forms\ListViewItemConverterTests.cs (1)
59BackColor = Color.Blue
System\Windows\Forms\ListViewSubItemTests.cs (6)
145BackColor = value 150subItem.BackColor = value; 176subItem.BackColor = value; 180subItem.BackColor = value; 195subItem.BackColor = value; 199subItem.BackColor = value;
31 references to BackColor
System.Windows.Forms (5)
System\Windows\Forms\Controls\ListView\DrawListViewSubItemEventArgs.cs (1)
96Color backColor = ItemIndex == -1 ? Item!.BackColor : SubItem!.BackColor;
System\Windows\Forms\Controls\ListView\ListView.cs (1)
2805subItemBackColor = item.SubItems[subitem].BackColor;
System\Windows\Forms\Controls\ListView\ListViewItem.cs (2)
295return _subItems[0].BackColor; 894subItem.BackColor,
System\Windows\Forms\Controls\ListView\ListViewSubItemConverter.cs (1)
49item.BackColor,
System.Windows.Forms.Tests (26)
SerializableTypesTests.cs (1)
238Assert.Equal(Color.Black, result.BackColor);
System\Windows\Forms\ListViewSubItemCollectionTests.cs (3)
275Assert.Equal(expectedBackColor, subItem.BackColor); 405Assert.Equal(expectedBackColor, collection[0].BackColor); 409Assert.Equal(expectedBackColor, collection[1].BackColor);
System\Windows\Forms\ListViewSubItemTests.cs (22)
17Assert.Equal(SystemColors.Window, subItem.BackColor); 44Assert.Equal(SystemColors.Window, subItem.BackColor); 70Assert.Equal(expectedBackColor, subItem.BackColor); 90Assert.Equal(Color.Red, subItem.BackColor); 94Assert.Equal(SystemColors.Window, subItem.BackColor); 105Assert.Equal(SystemColors.Window, subItem.BackColor); 109Assert.Equal(SystemColors.Window, subItem.BackColor); 126Assert.Equal(Color.Red, subItem.BackColor); 130Assert.Equal(SystemColors.Window, subItem.BackColor); 147Assert.Equal(expected, subItem.BackColor); 151Assert.Equal(expected, subItem.BackColor); 177Assert.Equal(expected, subItem.BackColor); 181Assert.Equal(expected, subItem.BackColor); 196Assert.Equal(expected, subItem.BackColor); 200Assert.Equal(expected, subItem.BackColor); 230Assert.Equal(SystemColors.Window, subItem.BackColor); 543Assert.Equal(SystemColors.Window, subItem.BackColor); 548Assert.Equal(SystemColors.Window, subItem.BackColor); 560Assert.Equal(SystemColors.Window, subItem.BackColor); 565Assert.Equal(SystemColors.Window, subItem.BackColor); 591Assert.Equal(subItem.BackColor, result.BackColor);