Base:
property
BackColor
System.Windows.Forms.Control.BackColor
25 writes to BackColor
Accessibility_Core_App (2)
CommonControl2.Designer.cs (1)
132
this.richTextBox1.
BackColor
= System.Drawing.SystemColors.Window;
DataBindingExample.Designer.cs (1)
168
this.richTextBox1.
BackColor
= System.Drawing.SystemColors.Window;
PresentationUI (2)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (2)
218
this._title.
BackColor
= System.Drawing.SystemColors.Control;
345
this._author.
BackColor
= System.Drawing.SystemColors.Control;
System.Windows.Forms (5)
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxEditingControl.cs (2)
105
BackColor
= opaqueBackColor;
114
BackColor
= dataGridViewCellStyle.BackColor;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
282
BackColor
= BackColor,
4383
EditTextBox.
BackColor
= BackColor;
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
138
_upDownEdit.
BackColor
= value;
System.Windows.Forms.Tests (16)
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (2)
739
BackColor
= Color.Red,
950
BackColor
= Color.Red,
System\Windows\Forms\RichTextBoxTests.cs (8)
656
BackColor
= value
662
control.
BackColor
= value;
716
control.
BackColor
= Color.Red;
721
control.
BackColor
= Color.Red;
726
control.
BackColor
= Color.Empty;
732
control.
BackColor
= Color.Red;
3861
BackColor
= Color.Red
3881
BackColor
= Color.Red
TextBoxBaseTests.cs (6)
393
BackColor
= value
399
control.
BackColor
= value;
418
control.
BackColor
= Color.Red;
423
control.
BackColor
= Color.Red;
428
control.
BackColor
= Color.Empty;
434
control.
BackColor
= Color.Red;
26 references to BackColor
System.Windows.Forms (8)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (5)
888
selColor =
BackColor
;
2349
PInvokeCore.SendMessage(this, PInvokeCore.EM_SETBKGNDCOLOR, 0,
BackColor
.ToWin32());
2455
PInvokeCore.SendMessage(this, PInvokeCore.EM_SETBKGNDCOLOR, (WPARAM)0, (LPARAM)
BackColor
);
3112
if (
BackColor
.IsSystemColor)
3114
PInvokeCore.SendMessage(this, PInvokeCore.EM_SETBKGNDCOLOR, 0,
BackColor
.ToWin32());
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.ToolStripTextBoxControl.cs (2)
244
Color outerBorderColor = focused ? ColorTable.TextBoxBorder :
BackColor
;
245
Color innerBorderColor = SystemInformation.HighContrast && !focused ? ColorTable.MenuBorder :
BackColor
;
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
134
get => _upDownEdit.
BackColor
;
System.Windows.Forms.Tests (18)
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (3)
33
Assert.Equal(SystemColors.Window, control.
BackColor
);
745
Assert.Equal(expectedBackColor, control.
BackColor
);
956
Assert.Equal(expectedBackColor, control.
BackColor
);
System\Windows\Forms\RichTextBoxTests.cs (7)
37
Assert.Equal(SystemColors.Window, control.
BackColor
);
658
Assert.Equal(expected, control.
BackColor
);
663
Assert.Equal(expected, control.
BackColor
);
717
Assert.Equal(Color.Red, control.
BackColor
);
722
Assert.Equal(Color.Red, control.
BackColor
);
727
Assert.Equal(SystemColors.Window, control.
BackColor
);
733
Assert.Equal(Color.Red, control.
BackColor
);
TextBoxBaseTests.cs (7)
378
Assert.Equal(SystemColors.Control, control.
BackColor
);
395
Assert.Equal(expected, control.
BackColor
);
400
Assert.Equal(expected, control.
BackColor
);
419
Assert.Equal(Color.Red, control.
BackColor
);
424
Assert.Equal(Color.Red, control.
BackColor
);
429
Assert.Equal(SystemColors.Window, control.
BackColor
);
435
Assert.Equal(Color.Red, control.
BackColor
);
TextBoxTests.cs (1)
32
Assert.Equal(SystemColors.Window, control.
BackColor
);