Base:
property
ForeColor
System.Windows.Forms.Control.ForeColor
14 writes to ForeColor
System.Windows.Forms.Tests (14)
System\Windows\Forms\ListViewItemTests.cs (1)
916ForeColor = value
System\Windows\Forms\ListViewSubItemTests.cs (3)
332ForeColor = Color.Red 365ForeColor = Color.Red 416ForeColor = Color.Red
System\Windows\Forms\ListViewTests.cs (10)
1321ForeColor = value 1327control.ForeColor = value; 1354control.ForeColor = value; 1362control.ForeColor = value; 1376control.ForeColor = Color.FromArgb(0x12, 0x34, 0x56, 0x78); 1394control.ForeColor = Color.Red; 1399control.ForeColor = Color.Red; 1404control.ForeColor = Color.Empty; 1410control.ForeColor = Color.Red; 1855ForeColor = Color.FromArgb(0x12, 0x34, 0x56, 0x78)
16 references to ForeColor
System.Windows.Forms (7)
System\Windows\Forms\Controls\ListView\ListView.cs (5)
839PInvokeCore.SendMessage(this, PInvoke.LVM_SETTEXTCOLOR, (WPARAM)0, (LPARAM)ForeColor); 2598_odCacheForeColor = ForeColor; 4546PInvokeCore.SendMessage(this, PInvoke.LVM_SETTEXTCOLOR, (WPARAM)0, (LPARAM)ForeColor); 4944c = ForeColor; 5958PInvokeCore.SetTextColor(nmlvcd->nmcd.hdc, ForeColor);
System\Windows\Forms\Controls\ListView\ListViewItem.cs (1)
419return _listView.ForeColor;
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewSubItem.cs (1)
173return _owner?._listView?.ForeColor ?? SystemColors.WindowText;
System.Windows.Forms.Tests (9)
System\Windows\Forms\ListViewTests.cs (9)
81Assert.Equal(SystemColors.WindowText, control.ForeColor); 1323Assert.Equal(expected, control.ForeColor); 1328Assert.Equal(expected, control.ForeColor); 1355Assert.Equal(expected, control.ForeColor); 1363Assert.Equal(expected, control.ForeColor); 1395Assert.Equal(Color.Red, control.ForeColor); 1400Assert.Equal(Color.Red, control.ForeColor); 1405Assert.Equal(SystemColors.WindowText, control.ForeColor); 1411Assert.Equal(Color.Red, control.ForeColor);