40 references to FromSystemColor
System.Drawing (33)
commonui\System\Drawing\SystemPens.cs (33)
32
return
FromSystemColor
(SystemColors.ActiveBorder);
42
return
FromSystemColor
(SystemColors.ActiveCaption);
52
return
FromSystemColor
(SystemColors.ActiveCaptionText);
64
return
FromSystemColor
(SystemColors.AppWorkspace);
74
return
FromSystemColor
(SystemColors.ButtonFace);
84
return
FromSystemColor
(SystemColors.ButtonHighlight);
94
return
FromSystemColor
(SystemColors.ButtonShadow);
104
return
FromSystemColor
(SystemColors.Control);
114
return
FromSystemColor
(SystemColors.ControlText);
124
return
FromSystemColor
(SystemColors.ControlDark);
134
return
FromSystemColor
(SystemColors.ControlDarkDark);
144
return
FromSystemColor
(SystemColors.ControlLight);
154
return
FromSystemColor
(SystemColors.ControlLightLight);
164
return
FromSystemColor
(SystemColors.Desktop);
174
return
FromSystemColor
(SystemColors.GradientActiveCaption);
184
return
FromSystemColor
(SystemColors.GradientInactiveCaption);
194
return
FromSystemColor
(SystemColors.GrayText);
204
return
FromSystemColor
(SystemColors.Highlight);
214
return
FromSystemColor
(SystemColors.HighlightText);
224
return
FromSystemColor
(SystemColors.HotTrack);
234
return
FromSystemColor
(SystemColors.InactiveBorder);
244
return
FromSystemColor
(SystemColors.InactiveCaption);
254
return
FromSystemColor
(SystemColors.InactiveCaptionText);
264
return
FromSystemColor
(SystemColors.Info);
274
return
FromSystemColor
(SystemColors.InfoText);
284
return
FromSystemColor
(SystemColors.Menu);
294
return
FromSystemColor
(SystemColors.MenuBar);
304
return
FromSystemColor
(SystemColors.MenuHighlight);
314
return
FromSystemColor
(SystemColors.MenuText);
325
return
FromSystemColor
(SystemColors.ScrollBar);
335
return
FromSystemColor
(SystemColors.Window);
345
return
FromSystemColor
(SystemColors.WindowFrame);
355
return
FromSystemColor
(SystemColors.WindowText);
System.Windows.Forms (7)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (1)
603
pen = SystemPens.
FromSystemColor
(c);
winforms\Managed\System\WinForms\ComboBox.cs (2)
5993
Pen outerBorderPen = SystemPens.
FromSystemColor
(outerBorderColor);
6016
Pen innerBorderPen = SystemPens.
FromSystemColor
(innerBorderColor);
winforms\Managed\System\WinForms\ControlPaint.cs (1)
1091
pen = SystemPens.
FromSystemColor
(color);
winforms\Managed\System\WinForms\GroupBox.cs (1)
641
boxPen = SystemPens.
FromSystemColor
(boxColor);
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (1)
2057
p = SystemPens.
FromSystemColor
(penColor);
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (1)
84
pen = SystemPens.
FromSystemColor
(color);