26 references to ControlDark
System.Drawing.Common.Tests (1)
System\Drawing\SystemPensTest.cs (1)
20yield return Pen(() => SystemPens.ControlDark, SystemColors.ControlDark);
System.Windows.Forms (23)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (3)
2145pen = SystemPens.ControlDark; 2206g.DrawRectangle(SystemPens.ControlDark, dropRect); 2296g.DrawRectangle(SystemPens.ControlDark, valBounds);
System\Windows\Forms\Controls\ListView\DrawListViewColumnHeaderEventArgs.cs (2)
117Graphics.DrawLine(SystemPens.ControlDark, r.X + 1, r.Bottom, r.Right, r.Bottom); 118Graphics.DrawLine(SystemPens.ControlDark, r.Right, r.Y + 1, r.Right, r.Bottom);
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (1)
251e.Graphics.DrawRectangle(SystemPens.ControlDark, bounds);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (2)
443SystemPens.ControlDark, 450SystemPens.ControlDark,
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
1144e.Graphics.DrawRectangle(SystemPens.ControlDark, rect);
System\Windows\Forms\Rendering\ControlPaint.cs (14)
1389Pen pen = SystemPens.ControlDark; 2338g.DrawLine(SystemPens.ControlDark, x, y, right - 1, y); 2339g.DrawLine(SystemPens.ControlDark, x, y, x, bottom - 1); 2349g.DrawLine(SystemPens.ControlDark, right - 1, y, right - 1, bottom - 1); 2350g.DrawLine(SystemPens.ControlDark, x, bottom - 1, right - 1, bottom - 1); 2364g.DrawRectangle(SystemPens.ControlDark, bound); 2370g.DrawLine(SystemPens.ControlDark, bound.X + bound.Width - 1, bound.Y, bound.X + bound.Width - 1, bound.Y + bound.Height - 1); 2371g.DrawLine(SystemPens.ControlDark, bound.X, bound.Y + bound.Height - 1, bound.X + bound.Width - 1, bound.Y + bound.Height - 1); 2382g.DrawLine(SystemPens.ControlDark, bound.X + bound.Width - 1, bound.Y, bound.X + bound.Width - 1, bound.Y + bound.Height - 1); 2383g.DrawLine(SystemPens.ControlDark, bound.X, bound.Y + bound.Height - 1, bound.X + bound.Width - 1, bound.Y + bound.Height - 1); 2387g.DrawLine(SystemPens.ControlDark, bound.X, bound.Y, bound.X + bound.Width - 1, bound.Y); 2388g.DrawLine(SystemPens.ControlDark, bound.X, bound.Y, bound.X, bound.Y + bound.Height - 1); 2399g.DrawLine(SystemPens.ControlDark, bound.X, bound.Y, bound.X + bound.Width - 1, bound.Y); 2400g.DrawLine(SystemPens.ControlDark, bound.X, bound.Y, bound.X, bound.Y + bound.Height - 1);
System.Windows.Forms.Design (2)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (1)
297swatchGraphics.DrawRectangle(SystemPens.ControlDark, new Rectangle(0, 0, width - 1, height - 1));
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (1)
292g.DrawRectangle(SystemPens.ControlDark, editRect);