49 references to ControlDarkDark
System.Drawing.Common.Tests (4)
System\Drawing\ColorTranslatorTests.cs (2)
18
yield return (unchecked((int)0x80000015), SystemColors.
ControlDarkDark
);
134
yield return ("threeddarkshadow", SystemColors.
ControlDarkDark
);
System\Drawing\SystemBrushesTests.cs (1)
19
yield return Brush(() => SystemBrushes.ControlDarkDark, SystemColors.
ControlDarkDark
);
System\Drawing\SystemPensTest.cs (1)
21
yield return Pen(() => SystemPens.ControlDarkDark, SystemColors.
ControlDarkDark
);
System.Windows.Forms (7)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.ColorOptions.cs (1)
43
colors.ButtonShadowDark = SystemColors.
ControlDarkDark
;
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (2)
155
: stockColor ? SystemColors.
ControlDarkDark
: colors.ButtonShadowDark);
258
: stockColor ? SystemColors.
ControlDarkDark
: colors.ButtonShadowDark);
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
73
private Color _lineColor = SystemInformation.HighContrast ? SystemColors.
ControlDarkDark
: SystemColors.InactiveBorder;
System\Windows\Forms\Rendering\ControlPaint.cs (1)
1109
using var darkPen = (stockColor ? SystemColors.
ControlDarkDark
: hls.Darker(1.0f)).GetCachedPenScope();
System\Windows\Forms\Rendering\ControlPaint.HLSColor.cs (2)
107
return SystemColors.
ControlDarkDark
;
112
ARGB darkDark = SystemColors.
ControlDarkDark
;
System.Windows.Forms.Design (7)
System\Windows\Forms\Design\ComponentTray.cs (1)
1447
selectionBorderBrush = new HatchBrush(HatchStyle.Percent50, SystemColors.
ControlDarkDark
, Color.Transparent);
System\Windows\Forms\Design\DesignerUtils.cs (6)
25
new(HatchStyle.Percent50, SystemColors.
ControlDarkDark
, SystemColors.
ControlDarkDark
);
123
g.DrawRectangle(new Pen(SystemColors.
ControlDarkDark
), 0, 0, s_boxImageSize - 1, s_boxImageSize - 1);
170
s_selectionBorderBrush = new HatchBrush(HatchStyle.Percent50, SystemColors.
ControlDarkDark
, SystemColors.
ControlDarkDark
);
228
Color color = SystemColors.
ControlDarkDark
;
System.Windows.Forms.Tests (30)
System\Windows\Forms\ButtonRenderingTests.cs (4)
54
State.PenColor(SystemColors.
ControlDarkDark
)),
57
State.PenColor(SystemColors.
ControlDarkDark
)),
140
State.PenColor(SystemColors.
ControlDarkDark
)),
143
State.PenColor(SystemColors.
ControlDarkDark
)),
System\Windows\Forms\ControlPaintTests.cs (24)
299
yield return new object[] { SystemColors.
ControlDarkDark
, Color.FromArgb(255, 35, 35, 35) };
332
yield return new object[] { SystemColors.
ControlDarkDark
, -1.5f, Color.FromArgb(255, 175, 175, 175) };
352
yield return new object[] { SystemColors.
ControlDarkDark
, -1f, Color.FromArgb(255, 140, 140, 140) };
372
yield return new object[] { SystemColors.
ControlDarkDark
, -0.5f, Color.FromArgb(255, 105, 105, 105) };
392
yield return new object[] { SystemColors.
ControlDarkDark
, -0.25f, Color.FromArgb(255, 87, 87, 87) };
412
yield return new object[] { SystemColors.
ControlDarkDark
, 0f, Color.FromArgb(255, 70, 70, 70) };
432
yield return new object[] { SystemColors.
ControlDarkDark
, 0.25f, Color.FromArgb(255, 53, 53, 53) };
452
yield return new object[] { SystemColors.
ControlDarkDark
, 0.5f, Color.FromArgb(255, 35, 35, 35) };
472
yield return new object[] { SystemColors.
ControlDarkDark
, 1f, Color.FromArgb(255, 0, 0, 0) };
474
yield return new object[] { SystemColors.Control, 1f, SystemColors.
ControlDarkDark
};
492
yield return new object[] { SystemColors.
ControlDarkDark
, 1.5f, Color.FromArgb(255, 221, 221, 221) };
524
yield return new object[] { SystemColors.
ControlDarkDark
, Color.FromArgb(255, 0, 0, 0) };
526
yield return new object[] { SystemColors.Control, SystemColors.
ControlDarkDark
};
2063
yield return new object[] { SystemColors.
ControlDarkDark
, Color.FromArgb(255, 142, 142, 142) };
2096
yield return new object[] { SystemColors.
ControlDarkDark
, -1.5f, Color.FromArgb(255, 249, 249, 249) };
2116
yield return new object[] { SystemColors.
ControlDarkDark
, -1f, Color.FromArgb(255, 29, 29, 29) };
2136
yield return new object[] { SystemColors.
ControlDarkDark
, -0.5f, Color.FromArgb(255, 68, 68, 68) };
2156
yield return new object[] { SystemColors.
ControlDarkDark
, -0.25f, Color.FromArgb(255, 87, 87, 87) };
2176
yield return new object[] { SystemColors.
ControlDarkDark
, 0f, Color.FromArgb(255, 105, 105, 105) };
2196
yield return new object[] { SystemColors.
ControlDarkDark
, 0.25f, Color.FromArgb(255, 123, 123, 123) };
2216
yield return new object[] { SystemColors.
ControlDarkDark
, 0.5f, Color.FromArgb(255, 142, 142, 142) };
2236
yield return new object[] { SystemColors.
ControlDarkDark
, 1f, Color.FromArgb(255, 180, 180, 180) };
2256
yield return new object[] { SystemColors.
ControlDarkDark
, 1.5f, Color.FromArgb(255, 217, 217, 217) };
2288
yield return new object[] { SystemColors.
ControlDarkDark
, Color.FromArgb(255, 180, 180, 180) };
System\Windows\Forms\ControlPaintTests.Rendering.cs (2)
281
State.Pen(16, SystemColors.
ControlDarkDark
, penStyle),
287
State.Pen(16, SystemColors.
ControlDarkDark
, penStyle),
WinFormsControlsTest (1)
CustomComCtl32Button.cs (1)
95
Pen pen = new(SystemColors.
ControlDarkDark
, 1);