7 references to ButtonShadow
System.Drawing.Common.Tests (1)
System\Drawing\SystemPensTest.cs (1)
18
yield return Pen(() => SystemPens.
ButtonShadow
, SystemColors.ButtonShadow);
System.Windows.Forms (6)
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (3)
277
g.DrawRectangle(SystemPens.
ButtonShadow
, bounds.X, bounds.Y, bounds.Width - 1, bounds.Height - 1);
341
g.DrawRectangle(SystemPens.
ButtonShadow
, bounds);
347
Pen foreColorPen = SystemPens.
ButtonShadow
;
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (3)
268
e.Graphics.DrawLine(SystemPens.
ButtonShadow
, 0, bounds.Bottom - 2, bounds.Width, bounds.Bottom - 2);
749
topPen = (state == ToolBarState.Hot) ? SystemPens.ButtonHighlight : SystemPens.
ButtonShadow
;
750
bottomPen = (state == ToolBarState.Hot) ? SystemPens.
ButtonShadow
: SystemPens.ButtonHighlight;