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