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