8 writes to ForeColor
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListView\ListViewItem.cs (1)
431SubItems[0].ForeColor = value;
System.Windows.Forms.Tests (7)
System\Windows\Forms\ListViewItemConverterTests.cs (1)
55ForeColor = Color.Blue
System\Windows\Forms\ListViewSubItemTests.cs (6)
395ForeColor = value 400subItem.ForeColor = value; 426subItem.ForeColor = value; 430subItem.ForeColor = value; 445subItem.ForeColor = value; 449subItem.ForeColor = value;
30 references to ForeColor
System.Windows.Forms (5)
System\Windows\Forms\Controls\ListView\DrawListViewSubItemEventArgs.cs (1)
139Color color = ItemIndex == -1 ? Item!.ForeColor : SubItem!.ForeColor;
System\Windows\Forms\Controls\ListView\ListView.cs (1)
2808subItemForeColor = item.SubItems[subitem].ForeColor;
System\Windows\Forms\Controls\ListView\ListViewItem.cs (2)
426return _subItems[0].ForeColor; 893subItem.ForeColor,
System\Windows\Forms\Controls\ListView\ListViewSubItemConverter.cs (1)
48item.ForeColor,
System.Windows.Forms.Tests (25)
SerializableTypesTests.cs (1)
237Assert.Equal(Color.White, result.ForeColor);
System\Windows\Forms\ListViewSubItemCollectionTests.cs (3)
273Assert.Equal(expectedForeColor, subItem.ForeColor); 403Assert.Equal(expectedForeColor, collection[0].ForeColor); 407Assert.Equal(expectedForeColor, collection[1].ForeColor);
System\Windows\Forms\ListViewSubItemTests.cs (21)
20Assert.Equal(SystemColors.WindowText, subItem.ForeColor); 46Assert.Equal(SystemColors.WindowText, subItem.ForeColor); 72Assert.Equal(expectedForeColor, subItem.ForeColor); 338Assert.Equal(Color.Red, subItem.ForeColor); 342Assert.Equal(SystemColors.WindowText, subItem.ForeColor); 353Assert.Equal(SystemColors.WindowText, subItem.ForeColor); 357Assert.Equal(SystemColors.WindowText, subItem.ForeColor); 374Assert.Equal(Color.Red, subItem.ForeColor); 378Assert.Equal(SystemColors.WindowText, subItem.ForeColor); 397Assert.Equal(expected, subItem.ForeColor); 401Assert.Equal(expected, subItem.ForeColor); 427Assert.Equal(expected, subItem.ForeColor); 431Assert.Equal(expected, subItem.ForeColor); 446Assert.Equal(expected, subItem.ForeColor); 450Assert.Equal(expected, subItem.ForeColor); 544Assert.Equal(SystemColors.WindowText, subItem.ForeColor); 549Assert.Equal(SystemColors.WindowText, subItem.ForeColor); 561Assert.Equal(SystemColors.WindowText, subItem.ForeColor); 566Assert.Equal(SystemColors.WindowText, subItem.ForeColor); 592Assert.Equal(subItem.ForeColor, result.ForeColor);