12 references to ControlText
System.Drawing.Common.Tests (1)
System\Drawing\SystemPensTest.cs (1)
24
yield return Pen(() => SystemPens.
ControlText
, SystemColors.ControlText);
System.Windows.Forms (9)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (1)
2193
g.DrawLine(SystemPens.
ControlText
, pt1.X, pt1.Y, pt2.X, pt2.Y);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (6)
3787
g.DrawLines(SystemPens.
ControlText
, (ReadOnlySpan<Point>)
3794
g.DrawLines(SystemPens.
ControlText
, (ReadOnlySpan<Point>)
3801
g.DrawLines(SystemPens.
ControlText
, (ReadOnlySpan<Point>)
3814
g.DrawLines(SystemPens.
ControlText
, (ReadOnlySpan<Point>)
3821
g.DrawLines(SystemPens.
ControlText
, (ReadOnlySpan<Point>)
3828
g.DrawLines(SystemPens.
ControlText
, (ReadOnlySpan<Point>)
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (2)
194
g.DrawLine(SystemPens.
ControlText
,
207
g.DrawLine(SystemPens.
ControlText
,
System.Windows.Forms.Design (2)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
599
g.DrawRectangle(SystemPens.
ControlText
, baseVar.X, baseVar.Y, baseVar.Width - 1, baseVar.Height - 1);
System\Windows\Forms\Design\FlowLayoutPanelDesigner .cs (1)
439
var pen = SystemPens.
ControlText
;