19 references to ButtonHighlight
System.Drawing.Common.Tests (1)
System\Drawing\SystemPensTest.cs (1)
17
yield return Pen(() => SystemPens.
ButtonHighlight
, SystemColors.ButtonHighlight);
System.Windows.Forms (14)
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (4)
100
e.Graphics.DrawRectangle(SystemPens.
ButtonHighlight
, new Rectangle(0, 0, e.Item.Width - 1, e.Item.Height - 1));
144
g.DrawRectangle(SystemPens.
ButtonHighlight
, bounds.X, bounds.Y, bounds.Width - 1, bounds.Height - 1);
181
e.Graphics.DrawRectangle(SystemPens.
ButtonHighlight
, 0, 0, e.Item.Width - 1, e.Item.Height - 1);
263
g.DrawRectangle(SystemPens.
ButtonHighlight
, bounds.X, bounds.Y, bounds.Width - 1, bounds.Height - 1);
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (2)
199
g.DrawLine(SystemPens.
ButtonHighlight
,
212
g.DrawLine(SystemPens.
ButtonHighlight
,
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (8)
262
e.Graphics.DrawLine(SystemPens.
ButtonHighlight
, 0, bounds.Bottom - 1, bounds.Width, bounds.Bottom - 1);
267
e.Graphics.DrawLine(SystemPens.
ButtonHighlight
, 0, bounds.Bottom - 1, bounds.Width, bounds.Bottom - 1);
714
Pen leftPen = (rightToLeft) ? SystemPens.
ButtonHighlight
: foreColorPen;
715
Pen rightPen = (rightToLeft) ? foreColorPen : SystemPens.
ButtonHighlight
;
739
g.DrawLine(SystemPens.
ButtonHighlight
, bounds.Left, startY, bounds.Right, startY);
749
topPen = (state == ToolBarState.Hot) ? SystemPens.
ButtonHighlight
: SystemPens.ButtonShadow;
750
bottomPen = (state == ToolBarState.Hot) ? SystemPens.ButtonShadow : SystemPens.
ButtonHighlight
;
766
e.Graphics.DrawLine(SystemPens.
ButtonHighlight
, 0, 0, e.ToolStrip.Width, 0);
System.Windows.Forms.Design (4)
System\ComponentModel\Design\CollectionEditor.SplitButton.cs (4)
207
g.DrawLine(SystemPens.
ButtonHighlight
, bounds.Left + PushButtonWidth, 4, bounds.Left + PushButtonWidth, bounds.Bottom - 4);
208
g.DrawLine(SystemPens.
ButtonHighlight
, bounds.Left + PushButtonWidth + 1, 4, bounds.Left + PushButtonWidth + 1, bounds.Bottom - 4);
214
g.DrawLine(SystemPens.
ButtonHighlight
, bounds.Right - PushButtonWidth, 4, bounds.Right - PushButtonWidth, bounds.Bottom - 4);
215
g.DrawLine(SystemPens.
ButtonHighlight
, bounds.Right - PushButtonWidth - 1, 4, bounds.Right - PushButtonWidth - 1, bounds.Bottom - 4);