66 references to ProfessionalColors
System.Windows.Forms (9)
System\Windows\Forms\Controls\ToolStrips\ProfessionalColorTable.cs (4)
89
if (
ProfessionalColors
.ColorFreshnessKey != _colorFreshnessKey ||
ProfessionalColors
.ColorScheme != _lastKnownColorScheme)
94
_colorFreshnessKey =
ProfessionalColors
.ColorFreshnessKey;
95
_lastKnownColorScheme =
ProfessionalColors
.ColorScheme;
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.ToolStripComboBoxControl.cs (1)
30
return
ProfessionalColors
.ColorTable;
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.ToolStripComboBoxControl.ToolStripComboBoxFlatComboAdapter.cs (1)
38
return
ProfessionalColors
.ColorTable;
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (1)
53
public ProfessionalColorTable ColorTable => _professionalColorTable ??
ProfessionalColors
.ColorTable;
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (1)
463
:
ProfessionalColors
.MenuItemBorder;
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.ToolStripTextBoxControl.cs (1)
65
return
ProfessionalColors
.ColorTable;
System.Windows.Forms.Tests (57)
System\Windows\Forms\ProfessionalColorsTests.cs (57)
14
yield return new object[] { I(() =>
ProfessionalColors
.ButtonCheckedGradientBegin) };
15
yield return new object[] { I(() =>
ProfessionalColors
.ButtonCheckedGradientEnd) };
16
yield return new object[] { I(() =>
ProfessionalColors
.ButtonCheckedGradientMiddle) };
17
yield return new object[] { I(() =>
ProfessionalColors
.ButtonCheckedHighlight) };
18
yield return new object[] { I(() =>
ProfessionalColors
.ButtonCheckedHighlightBorder) };
19
yield return new object[] { I(() =>
ProfessionalColors
.ButtonPressedBorder) };
20
yield return new object[] { I(() =>
ProfessionalColors
.ButtonPressedGradientBegin) };
21
yield return new object[] { I(() =>
ProfessionalColors
.ButtonPressedGradientEnd) };
22
yield return new object[] { I(() =>
ProfessionalColors
.ButtonPressedGradientMiddle) };
23
yield return new object[] { I(() =>
ProfessionalColors
.ButtonPressedHighlight) };
24
yield return new object[] { I(() =>
ProfessionalColors
.ButtonPressedHighlightBorder) };
25
yield return new object[] { I(() =>
ProfessionalColors
.ButtonSelectedBorder) };
26
yield return new object[] { I(() =>
ProfessionalColors
.ButtonSelectedGradientBegin) };
27
yield return new object[] { I(() =>
ProfessionalColors
.ButtonSelectedGradientEnd) };
28
yield return new object[] { I(() =>
ProfessionalColors
.ButtonSelectedGradientMiddle) };
29
yield return new object[] { I(() =>
ProfessionalColors
.ButtonSelectedHighlight) };
30
yield return new object[] { I(() =>
ProfessionalColors
.ButtonSelectedHighlightBorder) };
31
yield return new object[] { I(() =>
ProfessionalColors
.CheckBackground) };
32
yield return new object[] { I(() =>
ProfessionalColors
.CheckPressedBackground) };
33
yield return new object[] { I(() =>
ProfessionalColors
.CheckSelectedBackground) };
34
yield return new object[] { I(() =>
ProfessionalColors
.GripDark) };
35
yield return new object[] { I(() =>
ProfessionalColors
.GripLight) };
36
yield return new object[] { I(() =>
ProfessionalColors
.ImageMarginGradientBegin) };
37
yield return new object[] { I(() =>
ProfessionalColors
.ImageMarginGradientMiddle) };
38
yield return new object[] { I(() =>
ProfessionalColors
.ImageMarginRevealedGradientBegin) };
39
yield return new object[] { I(() =>
ProfessionalColors
.ImageMarginRevealedGradientEnd) };
40
yield return new object[] { I(() =>
ProfessionalColors
.ImageMarginRevealedGradientMiddle) };
41
yield return new object[] { I(() =>
ProfessionalColors
.MenuBorder) };
42
yield return new object[] { I(() =>
ProfessionalColors
.MenuItemBorder) };
43
yield return new object[] { I(() =>
ProfessionalColors
.MenuItemPressedGradientBegin) };
44
yield return new object[] { I(() =>
ProfessionalColors
.MenuItemPressedGradientEnd) };
45
yield return new object[] { I(() =>
ProfessionalColors
.MenuItemPressedGradientMiddle) };
46
yield return new object[] { I(() =>
ProfessionalColors
.MenuItemSelected) };
47
yield return new object[] { I(() =>
ProfessionalColors
.MenuItemSelectedGradientBegin) };
48
yield return new object[] { I(() =>
ProfessionalColors
.MenuItemSelectedGradientEnd) };
49
yield return new object[] { I(() =>
ProfessionalColors
.MenuStripGradientBegin) };
50
yield return new object[] { I(() =>
ProfessionalColors
.MenuStripGradientEnd) };
51
yield return new object[] { I(() =>
ProfessionalColors
.OverflowButtonGradientBegin) };
52
yield return new object[] { I(() =>
ProfessionalColors
.OverflowButtonGradientEnd) };
53
yield return new object[] { I(() =>
ProfessionalColors
.OverflowButtonGradientMiddle) };
54
yield return new object[] { I(() =>
ProfessionalColors
.RaftingContainerGradientBegin) };
55
yield return new object[] { I(() =>
ProfessionalColors
.RaftingContainerGradientEnd) };
56
yield return new object[] { I(() =>
ProfessionalColors
.SeparatorDark) };
57
yield return new object[] { I(() =>
ProfessionalColors
.SeparatorLight) };
58
yield return new object[] { I(() =>
ProfessionalColors
.StatusStripGradientBegin) };
59
yield return new object[] { I(() =>
ProfessionalColors
.StatusStripGradientEnd) };
60
yield return new object[] { I(() =>
ProfessionalColors
.ToolStripBorder) };
61
yield return new object[] { I(() =>
ProfessionalColors
.ToolStripContentPanelGradientBegin) };
62
yield return new object[] { I(() =>
ProfessionalColors
.ToolStripContentPanelGradientEnd) };
63
yield return new object[] { I(() =>
ProfessionalColors
.ToolStripDropDownBackground) };
64
yield return new object[] { I(() =>
ProfessionalColors
.ToolStripGradientBegin) };
65
yield return new object[] { I(() =>
ProfessionalColors
.ToolStripGradientEnd) };
66
yield return new object[] { I(() =>
ProfessionalColors
.ToolStripGradientMiddle) };
67
yield return new object[] { I(() =>
ProfessionalColors
.ToolStripPanelGradientBegin) };
68
yield return new object[] { I(() =>
ProfessionalColors
.ToolStripPanelGradientEnd) };
100
Assert.NotEqual(
ProfessionalColors
.ImageMarginGradientEnd,
ProfessionalColors
.ImageMarginGradientEnd);