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)
144BackColor = value 149subItem.BackColor = value; 175subItem.BackColor = value; 179subItem.BackColor = value; 194subItem.BackColor = value; 198subItem.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)
2809subItemBackColor = 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)
274Assert.Equal(expectedBackColor, subItem.BackColor); 404Assert.Equal(expectedBackColor, collection[0].BackColor); 408Assert.Equal(expectedBackColor, collection[1].BackColor);
System\Windows\Forms\ListViewSubItemTests.cs (22)
17Assert.Equal(SystemColors.Window, subItem.BackColor); 43Assert.Equal(SystemColors.Window, subItem.BackColor); 69Assert.Equal(expectedBackColor, subItem.BackColor); 89Assert.Equal(Color.Red, subItem.BackColor); 93Assert.Equal(SystemColors.Window, subItem.BackColor); 104Assert.Equal(SystemColors.Window, subItem.BackColor); 108Assert.Equal(SystemColors.Window, subItem.BackColor); 125Assert.Equal(Color.Red, subItem.BackColor); 129Assert.Equal(SystemColors.Window, subItem.BackColor); 146Assert.Equal(expected, subItem.BackColor); 150Assert.Equal(expected, subItem.BackColor); 176Assert.Equal(expected, subItem.BackColor); 180Assert.Equal(expected, subItem.BackColor); 195Assert.Equal(expected, subItem.BackColor); 199Assert.Equal(expected, subItem.BackColor); 229Assert.Equal(SystemColors.Window, subItem.BackColor); 542Assert.Equal(SystemColors.Window, subItem.BackColor); 547Assert.Equal(SystemColors.Window, subItem.BackColor); 559Assert.Equal(SystemColors.Window, subItem.BackColor); 564Assert.Equal(SystemColors.Window, subItem.BackColor); 590Assert.Equal(subItem.BackColor, result.BackColor);