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