Base:
property
ForeColor
System.Windows.Forms.Control.ForeColor
11 writes to ForeColor
System.Windows.Forms (1)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxEditingControl.cs (1)
86ForeColor = dataGridViewCellStyle.ForeColor;
System.Windows.Forms.Tests (10)
System\Windows\Forms\ComboBoxTests.cs (10)
1060ForeColor = value 1066control.ForeColor = value; 1093control.ForeColor = value; 1101control.ForeColor = value; 1123control.ForeColor = Color.Red; 1128control.ForeColor = Color.Red; 1133control.ForeColor = Color.Empty; 1139control.ForeColor = Color.Red; 1151control.ForeColor = Color.Red; 1167control.ForeColor = Color.Red;
17 references to ForeColor
System.Windows.Forms (2)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (2)
2004PInvokeCore.SetTextColor(dc, (COLORREF)(uint)ColorTranslator.ToWin32(ForeColor)); 3593ForeColor,
System.Windows.Forms.Tests (15)
System\Windows\Forms\ComboBoxTests.cs (15)
81Assert.Equal(SystemColors.WindowText, control.ForeColor); 1062Assert.Equal(expected, control.ForeColor); 1067Assert.Equal(expected, control.ForeColor); 1094Assert.Equal(expected, control.ForeColor); 1102Assert.Equal(expected, control.ForeColor); 1124Assert.Equal(Color.Red, control.ForeColor); 1129Assert.Equal(Color.Red, control.ForeColor); 1134Assert.Equal(SystemColors.WindowText, control.ForeColor); 1140Assert.Equal(Color.Red, control.ForeColor); 1147PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(ComboBox))[nameof(ComboBox.ForeColor)]; 1152Assert.Equal(Color.Red, control.ForeColor); 1156Assert.Equal(SystemColors.WindowText, control.ForeColor); 1163PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(ComboBox))[nameof(ComboBox.ForeColor)]; 1168Assert.Equal(Color.Red, control.ForeColor); 1172Assert.Equal(SystemColors.WindowText, control.ForeColor);