28 references to IsSystemColor
System.Drawing (11)
commonui\System\Drawing\Advanced\ColorTranslator.cs (1)
293
if (c.
IsSystemColor
) {
commonui\System\Drawing\ColorConverter.cs (1)
298
else if (c.
IsSystemColor
) {
commonui\System\Drawing\KnownColorTable.cs (1)
39
if (!color.
IsSystemColor
)
commonui\System\Drawing\Pen.cs (3)
88
if (this.color.
IsSystemColor
) {
817
if (value.
IsSystemColor
&& !oldColor.
IsSystemColor
)
commonui\System\Drawing\SolidBrush.cs (3)
52
if (color.
IsSystemColor
)
142
if (value.
IsSystemColor
&& !oldColor.
IsSystemColor
)
commonui\System\Drawing\SystemBrushes.cs (1)
367
if (!c.
IsSystemColor
) {
commonui\System\Drawing\SystemPens.cs (1)
367
if (!c.
IsSystemColor
) {
System.Windows.Forms (17)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (5)
489
bool stockBorder = c.
IsSystemColor
;
602
if (c.
IsSystemColor
) {
609
if (!c.
IsSystemColor
) {
644
if (c.
IsSystemColor
) {
652
if (!c.
IsSystemColor
) {
winforms\Managed\System\WinForms\ComboBox.cs (2)
5992
if (outerBorderColor.
IsSystemColor
) {
6015
if (innerBorderColor.
IsSystemColor
) {
winforms\Managed\System\WinForms\ControlPaint.cs (1)
1088
bool stockBorder = (style == ButtonBorderStyle.Solid && color.
IsSystemColor
);
winforms\Managed\System\WinForms\GroupBox.cs (1)
634
bool needToDispose = !boxColor.
IsSystemColor
;
winforms\Managed\System\WinForms\PropertyGrid.cs (2)
3291
if (BackColor.
IsSystemColor
) {
3316
if (!BackColor.
IsSystemColor
) {
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (2)
2056
if (penColor.
IsSystemColor
) {
2076
if (!penColor.
IsSystemColor
) {
winforms\Managed\System\WinForms\RichTextBox.cs (2)
3301
if (this.BackColor.
IsSystemColor
)
3305
if (this.ForeColor.
IsSystemColor
)
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (2)
69
if (backColor.
IsSystemColor
) {
83
if (color.
IsSystemColor
) {