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)
2189
g.DrawLine(SystemPens.
ControlText
, pt1.X, pt1.Y, pt2.X, pt2.Y);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (6)
3786
g.DrawLines(SystemPens.
ControlText
, (ReadOnlySpan<Point>)
3793
g.DrawLines(SystemPens.
ControlText
, (ReadOnlySpan<Point>)
3800
g.DrawLines(SystemPens.
ControlText
, (ReadOnlySpan<Point>)
3813
g.DrawLines(SystemPens.
ControlText
, (ReadOnlySpan<Point>)
3820
g.DrawLines(SystemPens.
ControlText
, (ReadOnlySpan<Point>)
3827
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
;