13 references to Control
System.Drawing.Common.Tests (1)
System\Drawing\SystemBrushesTests.cs (1)
17yield return Brush(() => SystemBrushes.Control, SystemColors.Control);
System.Windows.Forms (11)
System\Windows\Forms\Controls\ComboBox\ComboBox.FlatComboAdapter.cs (1)
163g.FillRectangle(SystemBrushes.Control, dropDownRect);
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
2082private static SolidBrush DefaultHeadersBackBrush => (SolidBrush)SystemBrushes.Control;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
16691g.FillRectangle(SystemBrushes.Control, _layout.ResizeBoxRect);
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (2)
2056g.FillRectangle(SystemBrushes.Control, dropRect); 2088g.FillRectangle(SystemBrushes.Control, dropRect);
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.ToolStripComboBoxControl.ToolStripComboBoxFlatComboAdapter.cs (1)
78g.FillRectangle(SystemBrushes.Control, dropDownRect);
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (1)
268g.FillRectangle(SystemBrushes.Control, e.ConnectedArea);
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
712e.Graphics.FillRectangle(SystemBrushes.Control, ResizeBoxRectangle);
System\Windows\Forms\Rendering\ControlPaint.cs (3)
1324? SystemBrushes.Control 1492? enabled ? (s_grabBrushPrimary ??= Brushes.White) : SystemBrushes.Control 1493: enabled ? (s_grabBrushSecondary ??= Brushes.Black) : SystemBrushes.Control;
System.Windows.Forms.Design (1)
System\Drawing\Design\CursorEditor.CursorUI.cs (1)
69e.Graphics.FillRectangle(SystemBrushes.Control, new Rectangle(e.Bounds.X + 2, e.Bounds.Y + 2, 32, e.Bounds.Height - 4));