17 references to ButtonHighlight
System.Windows.Forms (17)
winforms\Managed\System\WinForms\ToolStripHighContrastRenderer.cs (6)
95
e.Graphics.DrawRectangle(SystemPens.
ButtonHighlight
, new Rectangle(0, 0, e.Item.Width - 1, e.Item.Height - 1));
145
g.DrawRectangle(SystemPens.
ButtonHighlight
, bounds.X, bounds.Y, bounds.Width - 1, bounds.Height - 1);
150
g.DrawRectangle(SystemPens.
ButtonHighlight
, bounds.X, bounds.Y, bounds.Width-1, bounds.Height -1);
151
g.DrawRectangle(SystemPens.
ButtonHighlight
, dropDownRect);
175
e.Graphics.DrawRectangle(SystemPens.
ButtonHighlight
, 0, 0, e.Item.Width - 1, e.Item.Height - 1);
233
g.DrawRectangle(SystemPens.
ButtonHighlight
, bounds.X, bounds.Y, bounds.Width - 1, bounds.Height - 1);
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (3)
186
g.DrawLine(SystemPens.
ButtonHighlight
,
198
g.DrawLine(SystemPens.
ButtonHighlight
,
898
e.Graphics.DrawLine(SystemPens.
ButtonHighlight
, 0,0,e.ToolStrip.Width, 0);
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (8)
241
e.Graphics.DrawLine(SystemPens.
ButtonHighlight
, 0,bounds.Bottom-1,bounds.Width, bounds.Bottom-1);
245
e.Graphics.DrawLine(SystemPens.
ButtonHighlight
, 0,bounds.Bottom-1,bounds.Width, bounds.Bottom-1);
624
Pen leftPen = (rightToLeft) ? SystemPens.
ButtonHighlight
: foreColorPen;
625
Pen rightPen = (rightToLeft) ? foreColorPen : SystemPens.
ButtonHighlight
;
649
g.DrawLine(SystemPens.
ButtonHighlight
, bounds.Left, startY, bounds.Right, startY);
664
topPen = (state == ToolBarState.Hot) ? SystemPens.
ButtonHighlight
: SystemPens.ButtonShadow;
665
bottomPen = (state == ToolBarState.Hot)? SystemPens.ButtonShadow : SystemPens.
ButtonHighlight
;
680
e.Graphics.DrawLine(SystemPens.
ButtonHighlight
, 0,0,e.ToolStrip.Width, 0);