23 overrides of BackColor
System.Windows.Forms (22)
winforms\Managed\System\WinForms\AxHost.cs (1)
357
public override Color
BackColor
{
winforms\Managed\System\WinForms\ButtonBase.cs (1)
162
public override Color
BackColor
{
winforms\Managed\System\WinForms\ComboBox.cs (1)
310
public override Color
BackColor
{
winforms\Managed\System\WinForms\DataGrid.cs (1)
469
public override Color
BackColor
{
winforms\Managed\System\WinForms\DataGridView.cs (1)
1239
public override Color
BackColor
winforms\Managed\System\WinForms\DateTimePicker.cs (1)
158
public override Color
BackColor
{
winforms\Managed\System\WinForms\Form.cs (1)
767
public override Color
BackColor
{
winforms\Managed\System\WinForms\ListBox.cs (1)
188
public override Color
BackColor
{
winforms\Managed\System\WinForms\ListView.cs (1)
374
public override Color
BackColor
{
winforms\Managed\System\WinForms\MonthCalendar.cs (1)
307
public override Color
BackColor
{
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
371
public override Color
BackColor
{
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
216
public override Color
BackColor
{
winforms\Managed\System\WinForms\ScrollBar.cs (1)
109
public override Color
BackColor
{
winforms\Managed\System\WinForms\StatusBar.cs (1)
132
public override Color
BackColor
{
winforms\Managed\System\WinForms\TabControl.cs (1)
205
public override Color
BackColor
{
winforms\Managed\System\WinForms\TabPage.cs (1)
116
public override Color
BackColor
{
winforms\Managed\System\WinForms\TextBoxBase.cs (1)
293
public override Color
BackColor
{
winforms\Managed\System\WinForms\ToolBar.cs (1)
239
public override Color
BackColor
{
winforms\Managed\System\WinForms\ToolStripContentPanel.cs (1)
108
public override Color
BackColor
{
winforms\Managed\System\WinForms\TreeView.cs (1)
199
public override Color
BackColor
{
winforms\Managed\System\WinForms\UpDownBase.cs (1)
206
public override Color
BackColor
{
winforms\Managed\System\WinForms\WebBrowserBase.cs (1)
1385
public override Color
BackColor
{
System.Windows.Forms.DataVisualization (1)
WinForm\ChartWinControl.cs (1)
1294
public override Color
BackColor
62 writes to BackColor
System.Web.Entity.Design (2)
System\Data\WebControls\Design\Util\TaskFormBase.cs (2)
100
this._bottomDividerLabel.
BackColor
= System.Drawing.SystemColors.ControlLightLight;
110
this._headerPanel.
BackColor
= System.Drawing.SystemColors.ControlLightLight;
System.Windows.Forms (41)
winforms\Managed\System\WinForms\AxHost.cs (2)
363
base.
BackColor
= value;
6198
GetP().
BackColor
= AxHost.GetColorFromOleColor(value);
winforms\Managed\System\WinForms\ButtonBase.cs (1)
180
base.
BackColor
= value;
winforms\Managed\System\WinForms\ComboBox.cs (1)
320
base.
BackColor
= value;
winforms\Managed\System\WinForms\Control.cs (1)
10872
BackColor
= Color.Empty;
winforms\Managed\System\WinForms\DataGrid.cs (1)
478
base.
BackColor
= value;
winforms\Managed\System\WinForms\DataGridView.cs (1)
1247
base.
BackColor
= value;
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (1)
1517
this.DataGridView.EditingPanel.
BackColor
= dataGridViewCellStyle.SelectionBackColor;
winforms\Managed\System\WinForms\DataGridViewComboBoxEditingControl.cs (1)
137
this.dataGridView.EditingPanel.
BackColor
= opaqueBackColor;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (1)
2737
this.editingPanel.
BackColor
= dgvese.CellStyle.BackColor;
winforms\Managed\System\WinForms\DataGridViewTextBoxEditingControl.cs (1)
139
this.dataGridView.EditingPanel.
BackColor
= opaqueBackColor;
winforms\Managed\System\WinForms\DateTimePicker.cs (1)
168
base.
BackColor
= value;
winforms\Managed\System\WinForms\Design\ComponentEditorForm.cs (1)
235
grayStrip.
BackColor
= SystemColors.ControlDark;
winforms\Managed\System\WinForms\Form.cs (1)
779
base.
BackColor
= value;
winforms\Managed\System\WinForms\ListBox.cs (1)
198
base.
BackColor
= value;
winforms\Managed\System\WinForms\ListView.cs (1)
384
base.
BackColor
= value;
winforms\Managed\System\WinForms\MDIClient.cs (1)
52
BackColor
= SystemColors.AppWorkspace;
winforms\Managed\System\WinForms\MonthCalendar.cs (1)
317
base.
BackColor
= value;
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (1)
703
BackColor
= SystemColors.AppWorkspace;
winforms\Managed\System\WinForms\PropertyGrid.cs (5)
253
doccomment.
BackColor
= SystemColors.Control;
376
base.
BackColor
= value;
539
hotcommands.
BackColor
= value;
540
hotcommands.Label.
BackColor
= value;
807
doccomment.
BackColor
= value;
winforms\Managed\System\WinForms\PropertyGridInternal\HotCommands.cs (1)
152
Label.
BackColor
= background;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
222
base.
BackColor
= value;
winforms\Managed\System\WinForms\ScrollBar.cs (1)
114
base.
BackColor
= value;
winforms\Managed\System\WinForms\StatusStrip.cs (1)
605
this.
BackColor
= Color.Transparent;
winforms\Managed\System\WinForms\TabPage.cs (1)
146
base.
BackColor
= value;
winforms\Managed\System\WinForms\TextBoxBase.cs (1)
305
base.
BackColor
= value;
winforms\Managed\System\WinForms\ToolBar.cs (1)
244
base.
BackColor
= value;
winforms\Managed\System\WinForms\ToolStrip.cs (1)
460
base.
BackColor
= value;
winforms\Managed\System\WinForms\ToolStripContainer.cs (1)
105
set { base.
BackColor
= value; }
winforms\Managed\System\WinForms\ToolStripContentPanel.cs (2)
119
this.ParentInternal.
BackColor
= Color.Transparent;
121
base.
BackColor
= value;
winforms\Managed\System\WinForms\ToolStripControlHost.cs (1)
76
Control.
BackColor
= value;
winforms\Managed\System\WinForms\TreeView.cs (1)
210
base.
BackColor
= value;
winforms\Managed\System\WinForms\TrustManagerPromptUI.cs (2)
230
this.tableLayoutPanelQuestion.
BackColor
= System.Drawing.SystemColors.Window;
354
this.lineLabel.
BackColor
= System.Drawing.SystemColors.ControlDark;
winforms\Managed\System\WinForms\UpDownBase.cs (1)
211
base.
BackColor
= value; // Don't remove this or you will break serialization. See VSWhidbey #517574
winforms\Managed\System\WinForms\WebBrowserBase.cs (1)
1390
base.
BackColor
= value;
System.Workflow.Activities (1)
Rules\Design\Dialogs\BasicBrowserDialog.Designer.cs (1)
170
this.previewRichEditBoxPanel.
BackColor
= System.Drawing.SystemColors.GradientInactiveCaption;
System.Workflow.ComponentModel (4)
AuthoringOM\Design\DesignerWidgets.cs (2)
1511
BackColor
= SystemColors.Control;
1712
BackColor
= SystemColors.Control;
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (1)
919
BackColor
= Color.White;
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (1)
198
this.typeSplitContainer.
BackColor
= System.Drawing.Color.Transparent;
System.WorkflowServices (14)
System\Workflow\Activities\Design\EditableLabelControl.cs (2)
23
label.
BackColor
= Color.Transparent;
26
this.
BackColor
= Color.Transparent;
System\Workflow\Activities\Design\OperationPickerDialog.designer.cs (2)
133
this.detailsViewPanel.
BackColor
= System.Drawing.Color.Transparent;
144
this.footerPanel.
BackColor
= System.Drawing.SystemColors.Control;
System\Workflow\Activities\Design\ServiceContractDetailViewControl.Designer.cs (1)
54
this.
BackColor
= System.Drawing.Color.Transparent;
System\Workflow\Activities\Design\ServiceContractViewControl.Designer.cs (3)
45
this.contractNameLabel.
BackColor
= System.Drawing.Color.Transparent;
52
this.contractIconPictureBox.
BackColor
= System.Drawing.Color.Transparent;
74
this.
BackColor
= System.Drawing.SystemColors.Window;
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.designer.cs (1)
221
this.
BackColor
= System.Drawing.Color.Transparent;
System\Workflow\Activities\Design\ServiceOperationViewControl.designer.cs (5)
47
this.backgroundPanel.
BackColor
= System.Drawing.SystemColors.Window;
61
this.isImplementedPictureBox.
BackColor
= System.Drawing.Color.Transparent;
69
this.operationIconPictureBox.
BackColor
= System.Drawing.Color.Transparent;
78
this.operationNameLabel.
BackColor
= System.Drawing.Color.Transparent;
86
this.
BackColor
= System.Drawing.SystemColors.Window;
63 references to BackColor
System.Windows.Forms (63)
winforms\Managed\System\WinForms\AxHost.cs (4)
359
return base.
BackColor
;
2430
return GetOleColorFromColor(richParent.
BackColor
);
4451
qaContainer.colorBack = GetOleColorFromColor(p.
BackColor
);
6192
return AxHost.GetOleColorFromColor(((Control)GetP()).
BackColor
);
winforms\Managed\System\WinForms\ButtonBase.cs (1)
164
return base.
BackColor
;
winforms\Managed\System\WinForms\ComboBox.cs (2)
313
return base.
BackColor
;
3458
Brush brush = new SolidBrush(p.
BackColor
);
winforms\Managed\System\WinForms\Control.cs (15)
1044
if (parent != null && parent.
BackColor
==
BackColor
) {
1052
Color color =
BackColor
;
1090
c = p.
BackColor
;
1118
Color c =
BackColor
;
1123
if (!c.Equals(
BackColor
)) {
2253
Color color =
BackColor
;
2262
color = control.
BackColor
;
3642
return GetStyle(ControlStyles.SupportsTransparentBackColor) && this.
BackColor
.A < 255;
3847
oldBackColor =
BackColor
;
3867
if (checkBackColor && !oldBackColor.Equals(
BackColor
)) {
5478
Color oldBackColor =
BackColor
;
5512
if (!oldBackColor.Equals(
BackColor
)) {
7143
SafeNativeMethods.SetBkColor(new HandleRef(null, dc), ColorTranslator.ToWin32(
BackColor
));
9588
PaintBackground(e, rectangle, this.
BackColor
, Point.Empty);
winforms\Managed\System\WinForms\DataGrid.cs (1)
473
return base.
BackColor
;
winforms\Managed\System\WinForms\DataGridView.cs (1)
1243
return base.
BackColor
;
winforms\Managed\System\WinForms\DateTimePicker.cs (1)
161
return base.
BackColor
;
winforms\Managed\System\WinForms\GroupBox.cs (2)
536
Color textcolor = this.Enabled ? ForeColor : TextRenderer.DisabledTextColor(this.
BackColor
);
773
using (Brush b = new SolidBrush(
BackColor
)) {
winforms\Managed\System\WinForms\Label.cs (2)
1196
ControlPaint.DrawImageDisabled(g, image, loc.X, loc.Y,
BackColor
);
1567
Color disabledTextForeColor = TextRenderer.DisabledTextColor(this.
BackColor
);
winforms\Managed\System\WinForms\LinkLabel.cs (2)
1461
ControlPaint.DrawFocusRectangle(g, focusRect, ForeColor,
BackColor
);
1465
ControlPaint.DrawFocusRectangle(g, Rectangle.Ceiling(rect), ForeColor,
BackColor
);
winforms\Managed\System\WinForms\ListBox.cs (1)
191
return base.
BackColor
;
winforms\Managed\System\WinForms\ListView.cs (1)
377
return base.
BackColor
;
winforms\Managed\System\WinForms\MDIClient.cs (1)
333
return
BackColor
!= SystemColors.AppWorkspace;
winforms\Managed\System\WinForms\MonthCalendar.cs (1)
310
return base.
BackColor
;
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (3)
538
Brush backBrush = new SolidBrush(
BackColor
);
941
/// Indicates whether the <see cref='System.Windows.Forms.Control.
BackColor
'/> property should be
946
return !
BackColor
.Equals(SystemColors.AppWorkspace);
winforms\Managed\System\WinForms\ProgressBar.cs (3)
453
UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.PBM_SETBKCOLOR, 0, ColorTranslator.ToWin32(
BackColor
));
788
UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.PBM_SETBKCOLOR, 0, ColorTranslator.ToWin32(
BackColor
));
894
UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.PBM_SETBKCOLOR, 0, ColorTranslator.ToWin32(
BackColor
));
winforms\Managed\System\WinForms\PropertyGrid.cs (5)
373
return base.
BackColor
;
536
return hotcommands.
BackColor
;
804
return doccomment.
BackColor
;
2348
ControlPaint.DrawReversibleLine(new Point(rc.X+i, rc.Y), new Point(rc.X+i, rc.Y+rc.Height), ctlDrawTo.
BackColor
);
2353
ControlPaint.DrawReversibleLine(new Point(rc.X, rc.Y+i), new Point(rc.X+rc.Width, rc.Y+i), ctlDrawTo.
BackColor
);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
218
return base.
BackColor
;
winforms\Managed\System\WinForms\ScrollableControl.cs (1)
765
ControlPaint.DrawBackgroundImage(e.Graphics, BackgroundImage,
BackColor
, BackgroundImageLayout, displayRect, displayRect, displayRect.Location);
winforms\Managed\System\WinForms\ScrollBar.cs (1)
111
return base.
BackColor
;
winforms\Managed\System\WinForms\SplitContainer.cs (4)
1216
using (SolidBrush brush = new SolidBrush(this.
BackColor
)) {
1522
if (this.
BackColor
== Color.Transparent) {
1623
ControlPaint.DrawFocusRectangle(g, r, this.ForeColor, this.
BackColor
);
1714
using (SolidBrush solidBrush = new SolidBrush(this.
BackColor
)) {
winforms\Managed\System\WinForms\TabPage.cs (1)
118
Color color = base.
BackColor
;
winforms\Managed\System\WinForms\TextBoxBase.cs (1)
296
return base.
BackColor
;
winforms\Managed\System\WinForms\ToolBar.cs (1)
241
return base.
BackColor
;
winforms\Managed\System\WinForms\ToolStrip.cs (1)
457
return base.
BackColor
;
winforms\Managed\System\WinForms\ToolStripContainer.cs (1)
104
get { return base.
BackColor
; }
winforms\Managed\System\WinForms\ToolStripContentPanel.cs (1)
110
return base.
BackColor
;
winforms\Managed\System\WinForms\ToolStripControlHost.cs (1)
73
return Control.
BackColor
;
winforms\Managed\System\WinForms\ToolStripItem.cs (1)
549
return p.
BackColor
;
winforms\Managed\System\WinForms\TreeView.cs (1)
202
return base.
BackColor
;
winforms\Managed\System\WinForms\WebBrowserBase.cs (1)
1387
return base.
BackColor
;