10 references to ButtonShadow
System.Drawing.Common.Tests (1)
System\Drawing\SystemBrushesTests.cs (1)
16
yield return Brush(() => SystemBrushes.
ButtonShadow
, SystemColors.ButtonShadow);
System.Windows.Forms (9)
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (4)
314
g.FillRectangle(SystemBrushes.
ButtonShadow
, new Rectangle(1, 1, 1, 1));
319
g.FillRectangle(SystemBrushes.
ButtonShadow
, new Rectangle(bounds.Width - 2, 1, 1, 1));
326
g.FillRectangle(SystemBrushes.
ButtonShadow
, new Rectangle(1, bounds.Height - 2, 1, 1));
333
g.FillRectangle(SystemBrushes.
ButtonShadow
, new Rectangle(bounds.Width - 2, bounds.Height - 2, 1, 1));
System\Windows\Forms\Controls\ToolStrips\ToolStripProfessionalLowResolutionRenderer.cs (4)
79
g.FillRectangle(SystemBrushes.
ButtonShadow
, new Rectangle(1, 1, 1, 1));
84
g.FillRectangle(SystemBrushes.
ButtonShadow
, new Rectangle(bounds.Width - 2, 1, 1, 1));
91
g.FillRectangle(SystemBrushes.
ButtonShadow
, new Rectangle(1, bounds.Height - 2, 1, 1));
98
g.FillRectangle(SystemBrushes.
ButtonShadow
, new Rectangle(bounds.Width - 2, bounds.Height - 2, 1, 1));
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (1)
1003
g.FillRectangles(SystemBrushes.
ButtonShadow
, greyRectangles);