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