Base:
property
ForeColor
System.Windows.Forms.Control.ForeColor
1 override of ForeColor
System.Windows.Forms (1)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
369
public override Color
ForeColor
17 writes to ForeColor
System.Windows.Forms (6)
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxEditingControl.cs (1)
117
ForeColor
= dataGridViewCellStyle.ForeColor;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
283
ForeColor
= ForeColor
4382
EditTextBox.
ForeColor
= drawReadOnly ? GrayTextColor : ForeColor;
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (2)
378
base.
ForeColor
= value;
383
base.
ForeColor
= value;
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
270
_upDownEdit.
ForeColor
= value;
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
879
ForeColor
= SystemColors.WindowText
System.Windows.Forms.Tests (10)
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (2)
740
ForeColor
= Color.Blue,
951
ForeColor
= Color.Blue,
TextBoxBaseTests.cs (8)
1174
ForeColor
= value
1180
control.
ForeColor
= value;
1207
control.
ForeColor
= value;
1215
control.
ForeColor
= value;
1237
control.
ForeColor
= Color.Red;
1242
control.
ForeColor
= Color.Red;
1247
control.
ForeColor
= Color.Empty;
1253
control.
ForeColor
= Color.Red;
14 references to ForeColor
System.Windows.Forms (2)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
371
get => base.
ForeColor
;
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
266
get => _upDownEdit.
ForeColor
;
System.Windows.Forms.Tests (12)
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (3)
78
Assert.Equal(SystemColors.WindowText, control.
ForeColor
);
746
Assert.Equal(expectedForeColor, control.
ForeColor
);
958
Assert.Equal(expectedForeColor, control.
ForeColor
);
TextBoxBaseTests.cs (8)
1176
Assert.Equal(expected, control.
ForeColor
);
1181
Assert.Equal(expected, control.
ForeColor
);
1208
Assert.Equal(expected, control.
ForeColor
);
1216
Assert.Equal(expected, control.
ForeColor
);
1238
Assert.Equal(Color.Red, control.
ForeColor
);
1243
Assert.Equal(Color.Red, control.
ForeColor
);
1248
Assert.Equal(SystemColors.WindowText, control.
ForeColor
);
1254
Assert.Equal(Color.Red, control.
ForeColor
);
TextBoxTests.cs (1)
72
Assert.Equal(SystemColors.WindowText, control.
ForeColor
);