Base:
property
BackColor
System.Windows.Forms.Control.BackColor
15 writes to BackColor
PresentationUI (1)
MS\Internal\Documents\SignatureSummaryDialog.Designer.cs (1)
147_listBoxSummary.BackColor = System.Drawing.SystemColors.Window;
System.Windows.Forms (1)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewListBox.cs (1)
19base.BackColor = gridView.BackColor;
System.Windows.Forms.Tests (11)
System\Windows\Forms\ListBoxTests.cs (11)
359BackColor = value 365control.BackColor = value; 389control.BackColor = value; 397control.BackColor = value; 419control.BackColor = Color.Red; 424control.BackColor = Color.Red; 429control.BackColor = Color.Empty; 435control.BackColor = Color.Red; 447control.BackColor = Color.Red; 463control.BackColor = Color.Red; 5981control.BackColor = Color.Black;
WinFormsControlsTest (2)
MultipleControls.Designer.cs (2)
225this.checkedListBox1.BackColor = System.Drawing.SystemColors.Window; 281this.checkedListBox2.BackColor = System.Drawing.SystemColors.Window;
22 references to BackColor
System.Windows.Forms (3)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (2)
581Color backColor = (SelectionMode != SelectionMode.None) ? e.BackColor : BackColor; 717Color backColor = (SelectionMode != SelectionMode.None) ? e.BackColor : BackColor;
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
2367BackColor);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
999Brush backBrush = new SolidBrush(_selectedColumns.BackColor);
System.Windows.Forms.Tests (18)
System\Windows\Forms\ListBoxTests.cs (18)
27Assert.Equal(SystemColors.Window, control.BackColor); 361Assert.Equal(expected, control.BackColor); 366Assert.Equal(expected, control.BackColor); 390Assert.Equal(expected, control.BackColor); 398Assert.Equal(expected, control.BackColor); 420Assert.Equal(Color.Red, control.BackColor); 425Assert.Equal(Color.Red, control.BackColor); 430Assert.Equal(SystemColors.Window, control.BackColor); 436Assert.Equal(Color.Red, control.BackColor); 443PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(ListBox))[nameof(ListBox.BackColor)]; 448Assert.Equal(Color.Red, control.BackColor); 452Assert.Equal(SystemColors.Window, control.BackColor); 459PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(ListBox))[nameof(ListBox.BackColor)]; 464Assert.Equal(Color.Red, control.BackColor); 468Assert.Equal(SystemColors.Window, control.BackColor); 5978Assert.Equal(SystemColors.Window, control.BackColor); 5983Assert.Equal(SystemColors.Window, control.BackColor); 5987Assert.Equal(SystemColors.Window, control.BackColor);