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)
395
ForeColor
= value
400
subItem.
ForeColor
= value;
426
subItem.
ForeColor
= value;
430
subItem.
ForeColor
= value;
445
subItem.
ForeColor
= value;
449
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)
2808
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)
273
Assert.Equal(expectedForeColor, subItem.
ForeColor
);
403
Assert.Equal(expectedForeColor, collection[0].
ForeColor
);
407
Assert.Equal(expectedForeColor, collection[1].
ForeColor
);
System\Windows\Forms\ListViewSubItemTests.cs (21)
20
Assert.Equal(SystemColors.WindowText, subItem.
ForeColor
);
46
Assert.Equal(SystemColors.WindowText, subItem.
ForeColor
);
72
Assert.Equal(expectedForeColor, subItem.
ForeColor
);
338
Assert.Equal(Color.Red, subItem.
ForeColor
);
342
Assert.Equal(SystemColors.WindowText, subItem.
ForeColor
);
353
Assert.Equal(SystemColors.WindowText, subItem.
ForeColor
);
357
Assert.Equal(SystemColors.WindowText, subItem.
ForeColor
);
374
Assert.Equal(Color.Red, subItem.
ForeColor
);
378
Assert.Equal(SystemColors.WindowText, subItem.
ForeColor
);
397
Assert.Equal(expected, subItem.
ForeColor
);
401
Assert.Equal(expected, subItem.
ForeColor
);
427
Assert.Equal(expected, subItem.
ForeColor
);
431
Assert.Equal(expected, subItem.
ForeColor
);
446
Assert.Equal(expected, subItem.
ForeColor
);
450
Assert.Equal(expected, subItem.
ForeColor
);
544
Assert.Equal(SystemColors.WindowText, subItem.
ForeColor
);
549
Assert.Equal(SystemColors.WindowText, subItem.
ForeColor
);
561
Assert.Equal(SystemColors.WindowText, subItem.
ForeColor
);
566
Assert.Equal(SystemColors.WindowText, subItem.
ForeColor
);
592
Assert.Equal(subItem.
ForeColor
, result.
ForeColor
);