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)
396ForeColor = value 401subItem.ForeColor = value; 427subItem.ForeColor = value; 431subItem.ForeColor = value; 446subItem.ForeColor = value; 450subItem.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)
2804subItemForeColor = 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)
274Assert.Equal(expectedForeColor, subItem.ForeColor); 404Assert.Equal(expectedForeColor, collection[0].ForeColor); 408Assert.Equal(expectedForeColor, collection[1].ForeColor);
System\Windows\Forms\ListViewSubItemTests.cs (21)
20Assert.Equal(SystemColors.WindowText, subItem.ForeColor); 47Assert.Equal(SystemColors.WindowText, subItem.ForeColor); 73Assert.Equal(expectedForeColor, subItem.ForeColor); 339Assert.Equal(Color.Red, subItem.ForeColor); 343Assert.Equal(SystemColors.WindowText, subItem.ForeColor); 354Assert.Equal(SystemColors.WindowText, subItem.ForeColor); 358Assert.Equal(SystemColors.WindowText, subItem.ForeColor); 375Assert.Equal(Color.Red, subItem.ForeColor); 379Assert.Equal(SystemColors.WindowText, subItem.ForeColor); 398Assert.Equal(expected, subItem.ForeColor); 402Assert.Equal(expected, subItem.ForeColor); 428Assert.Equal(expected, subItem.ForeColor); 432Assert.Equal(expected, subItem.ForeColor); 447Assert.Equal(expected, subItem.ForeColor); 451Assert.Equal(expected, subItem.ForeColor); 545Assert.Equal(SystemColors.WindowText, subItem.ForeColor); 550Assert.Equal(SystemColors.WindowText, subItem.ForeColor); 562Assert.Equal(SystemColors.WindowText, subItem.ForeColor); 567Assert.Equal(SystemColors.WindowText, subItem.ForeColor); 593Assert.Equal(subItem.ForeColor, result.ForeColor);