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)
186g.DrawLine(SystemPens.ButtonHighlight, 198g.DrawLine(SystemPens.ButtonHighlight, 898e.Graphics.DrawLine(SystemPens.ButtonHighlight, 0,0,e.ToolStrip.Width, 0);
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (8)
241e.Graphics.DrawLine(SystemPens.ButtonHighlight, 0,bounds.Bottom-1,bounds.Width, bounds.Bottom-1); 245e.Graphics.DrawLine(SystemPens.ButtonHighlight, 0,bounds.Bottom-1,bounds.Width, bounds.Bottom-1); 624Pen leftPen = (rightToLeft) ? SystemPens.ButtonHighlight : foreColorPen; 625Pen rightPen = (rightToLeft) ? foreColorPen : SystemPens.ButtonHighlight; 649g.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; 680e.Graphics.DrawLine(SystemPens.ButtonHighlight, 0,0,e.ToolStrip.Width, 0);