Base:
property
BackColor
System.Windows.Forms.Control.BackColor
2 writes to BackColor
System.Windows.Forms (2)
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (2)
284
btnDropDown.
BackColor
= SystemColors.Control;
307
btnDialog.
BackColor
= SystemColors.Control;
21 references to BackColor
System.Windows.Forms (21)
winforms\Managed\System\WinForms\ButtonBase.cs (1)
1232
if (isEnableVisualStyleBackgroundSet || ((RawBackColor.IsEmpty) && (
BackColor
== SystemColors.Control)))
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (5)
153
if (Control.
BackColor
!= SystemColors.Control && SystemInformation.HighContrast) {
158
ControlPaint.DrawBorder(g, bounds, ControlPaint.Dark(Control.
BackColor
), ButtonBorderStyle.Solid);
543
ControlPaint.DrawFocusRectangle(g, r, Control.ForeColor, Control.
BackColor
);
584
ControlPaint.DrawImageDisabled(graphics, image, imageBounds, Control.
BackColor
, true /* unscaled image*/);
1580
ColorOptions colors = new ColorOptions(g, Control.ForeColor, Control.
BackColor
);
winforms\Managed\System\WinForms\ButtonInternal\ButtonFlatAdapter.cs (3)
51
Color backColor = Control.
BackColor
;
132
Color backColor = Control.
BackColor
;
211
Color backColor = Control.
BackColor
;
winforms\Managed\System\WinForms\ButtonInternal\ButtonPopupAdapter.cs (2)
43
Control.PaintBackground(e, r, IsHighContrastHighlighted2() ? SystemColors.Highlight : Control.
BackColor
, r.Location);
83
Control.PaintBackground(e, r, IsHighContrastHighlighted2() ? SystemColors.Highlight : Control.
BackColor
, r.Location);
winforms\Managed\System\WinForms\ButtonInternal\ButtonStandardAdapter.cs (1)
91
Color color = isHighContrastHighlighted ? SystemColors.Highlight : Control.
BackColor
;
winforms\Managed\System\WinForms\PropertyGridInternal\DropDownButton.cs (9)
114
ControlPaint.DrawFocusRectangle(pevent.Graphics, dropDownButtonRect, ForeColor,
BackColor
);
157
if (Control.
BackColor
!= SystemColors.Control && SystemInformation.HighContrast) {
159
Color c = ControlPaint.LightLight(Control.
BackColor
);
167
ControlPaint.DrawBorder(g, r, ControlPaint.Dark(Control.
BackColor
), ButtonBorderStyle.Solid);
172
Color c = ControlPaint.Light(Control.
BackColor
);
176
Control.
BackColor
, 2, ButtonBorderStyle.Outset,
177
Control.
BackColor
, 2, ButtonBorderStyle.Outset);
183
c = ControlPaint.LightLight(Control.
BackColor
);
191
ControlPaint.DrawBorder(g, r, ControlPaint.Dark(Control.
BackColor
), ButtonBorderStyle.Solid);