8 writes to ForeColor
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListView\ListViewItem.cs (1)
431
SubItems[0].
ForeColor
= value;
System.Windows.Forms.Tests (7)
System\Windows\Forms\ListViewItemConverterTests.cs (1)
55
ForeColor
= Color.Blue
System\Windows\Forms\ListViewSubItemTests.cs (6)
396
ForeColor
= value
401
subItem.
ForeColor
= value;
427
subItem.
ForeColor
= value;
431
subItem.
ForeColor
= value;
446
subItem.
ForeColor
= value;
450
subItem.
ForeColor
= value;
30 references to ForeColor
System.Windows.Forms (5)
System\Windows\Forms\Controls\ListView\DrawListViewSubItemEventArgs.cs (1)
139
Color color = ItemIndex == -1 ? Item!.ForeColor : SubItem!.
ForeColor
;
System\Windows\Forms\Controls\ListView\ListView.cs (1)
2804
subItemForeColor = item.SubItems[subitem].
ForeColor
;
System\Windows\Forms\Controls\ListView\ListViewItem.cs (2)
426
return _subItems[0].
ForeColor
;
893
subItem.
ForeColor
,
System\Windows\Forms\Controls\ListView\ListViewSubItemConverter.cs (1)
48
item.
ForeColor
,
System.Windows.Forms.Tests (25)
SerializableTypesTests.cs (1)
237
Assert.Equal(Color.White, result.
ForeColor
);
System\Windows\Forms\ListViewSubItemCollectionTests.cs (3)
274
Assert.Equal(expectedForeColor, subItem.
ForeColor
);
404
Assert.Equal(expectedForeColor, collection[0].
ForeColor
);
408
Assert.Equal(expectedForeColor, collection[1].
ForeColor
);
System\Windows\Forms\ListViewSubItemTests.cs (21)
20
Assert.Equal(SystemColors.WindowText, subItem.
ForeColor
);
47
Assert.Equal(SystemColors.WindowText, subItem.
ForeColor
);
73
Assert.Equal(expectedForeColor, subItem.
ForeColor
);
339
Assert.Equal(Color.Red, subItem.
ForeColor
);
343
Assert.Equal(SystemColors.WindowText, subItem.
ForeColor
);
354
Assert.Equal(SystemColors.WindowText, subItem.
ForeColor
);
358
Assert.Equal(SystemColors.WindowText, subItem.
ForeColor
);
375
Assert.Equal(Color.Red, subItem.
ForeColor
);
379
Assert.Equal(SystemColors.WindowText, subItem.
ForeColor
);
398
Assert.Equal(expected, subItem.
ForeColor
);
402
Assert.Equal(expected, subItem.
ForeColor
);
428
Assert.Equal(expected, subItem.
ForeColor
);
432
Assert.Equal(expected, subItem.
ForeColor
);
447
Assert.Equal(expected, subItem.
ForeColor
);
451
Assert.Equal(expected, subItem.
ForeColor
);
545
Assert.Equal(SystemColors.WindowText, subItem.
ForeColor
);
550
Assert.Equal(SystemColors.WindowText, subItem.
ForeColor
);
562
Assert.Equal(SystemColors.WindowText, subItem.
ForeColor
);
567
Assert.Equal(SystemColors.WindowText, subItem.
ForeColor
);
593
Assert.Equal(subItem.
ForeColor
, result.
ForeColor
);