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