1 // 2 // ProfessionalColors.cs 3 // 4 // Permission is hereby granted, free of charge, to any person obtaining 5 // a copy of color_table software and associated documentation files (the 6 // "Software"), to deal in the Software without restriction, including 7 // without limitation the rights to use, copy, modify, merge, publish, 8 // distribute, sublicense, and/or sell copies of the Software, and to 9 // permit persons to whom the Software is furnished to do so, subject to 10 // the following conditions: 11 // 12 // The above copyright notice and color_table permission notice shall be 13 // included in all copies or substantial portions of the Software. 14 // 15 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 17 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 18 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 19 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 20 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 21 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 22 // 23 // Copyright (c) 2006 Novell, Inc. 24 // 25 // Authors: 26 // Jonathan Pobst (monkey@jpobst.com) 27 // 28 29 using System.Drawing; 30 using System.Windows.Forms.VisualStyles; 31 32 namespace System.Windows.Forms 33 { 34 public sealed class ProfessionalColors 35 { 36 private static ProfessionalColorTable color_table = new ProfessionalColorTable(); 37 38 #region Private Constructor ProfessionalColors()39 private ProfessionalColors () {} 40 #endregion 41 42 #region Static Properties 43 public static Color ButtonCheckedGradientBegin { get { return color_table.ButtonCheckedGradientBegin; } } 44 public static Color ButtonCheckedGradientEnd { get { return color_table.ButtonCheckedGradientEnd; } } 45 public static Color ButtonCheckedGradientMiddle { get { return color_table.ButtonCheckedGradientMiddle; } } 46 public static Color ButtonCheckedHighlight { get { return color_table.ButtonCheckedHighlight; } } 47 public static Color ButtonCheckedHighlightBorder { get { return color_table.ButtonCheckedHighlightBorder; } } 48 public static Color ButtonPressedBorder { get { return color_table.ButtonPressedBorder; } } 49 public static Color ButtonPressedGradientBegin { get { return color_table.ButtonPressedGradientBegin; } } 50 public static Color ButtonPressedGradientEnd { get { return color_table.ButtonPressedGradientEnd; } } 51 public static Color ButtonPressedGradientMiddle { get { return color_table.ButtonPressedGradientMiddle; } } 52 public static Color ButtonPressedHighlight { get { return color_table.ButtonPressedHighlight; } } 53 public static Color ButtonPressedHighlightBorder { get { return color_table.ButtonPressedHighlightBorder; } } 54 public static Color ButtonSelectedBorder { get { return color_table.ButtonSelectedBorder; } } 55 public static Color ButtonSelectedGradientBegin { get { return color_table.ButtonSelectedGradientBegin; } } 56 public static Color ButtonSelectedGradientEnd { get { return color_table.ButtonSelectedGradientEnd; } } 57 public static Color ButtonSelectedGradientMiddle { get { return color_table.ButtonSelectedGradientMiddle; } } 58 public static Color ButtonSelectedHighlight { get { return color_table.ButtonSelectedHighlight; } } 59 public static Color ButtonSelectedHighlightBorder { get { return color_table.ButtonSelectedHighlightBorder; } } 60 public static Color CheckBackground { get { return color_table.CheckBackground; } } 61 public static Color CheckPressedBackground { get { return color_table.CheckPressedBackground; } } 62 public static Color CheckSelectedBackground { get { return color_table.CheckSelectedBackground; } } 63 public static Color GripDark { get { return color_table.GripDark; } } 64 public static Color GripLight { get { return color_table.GripLight; } } 65 public static Color ImageMarginGradientBegin { get { return color_table.ImageMarginGradientBegin; } } 66 public static Color ImageMarginGradientEnd { get { return color_table.ImageMarginGradientEnd; } } 67 public static Color ImageMarginGradientMiddle { get { return color_table.ImageMarginGradientMiddle; } } 68 public static Color ImageMarginRevealedGradientBegin { get { return color_table.ImageMarginRevealedGradientBegin; } } 69 public static Color ImageMarginRevealedGradientEnd { get { return color_table.ImageMarginRevealedGradientEnd; } } 70 public static Color ImageMarginRevealedGradientMiddle { get { return color_table.ImageMarginRevealedGradientMiddle; } } 71 public static Color MenuBorder { get { return color_table.MenuBorder; } } 72 public static Color MenuItemBorder { get { return color_table.MenuItemBorder; } } 73 public static Color MenuItemPressedGradientBegin { get { return color_table.MenuItemPressedGradientBegin; } } 74 public static Color MenuItemPressedGradientEnd { get { return color_table.MenuItemPressedGradientEnd; } } 75 public static Color MenuItemPressedGradientMiddle { get { return color_table.MenuItemPressedGradientMiddle; } } 76 public static Color MenuItemSelected { get { return color_table.MenuItemSelected; } } 77 public static Color MenuItemSelectedGradientBegin { get { return color_table.MenuItemSelectedGradientBegin; } } 78 public static Color MenuItemSelectedGradientEnd { get { return color_table.MenuItemSelectedGradientEnd; } } 79 public static Color MenuStripGradientBegin { get { return color_table.MenuStripGradientBegin; } } 80 public static Color MenuStripGradientEnd { get { return color_table.MenuStripGradientEnd; } } 81 public static Color OverflowButtonGradientBegin { get { return color_table.OverflowButtonGradientBegin; } } 82 public static Color OverflowButtonGradientEnd { get { return color_table.OverflowButtonGradientEnd; } } 83 public static Color OverflowButtonGradientMiddle { get { return color_table.OverflowButtonGradientMiddle; } } 84 public static Color RaftingContainerGradientBegin { get { return color_table.RaftingContainerGradientBegin; } } 85 public static Color RaftingContainerGradientEnd { get { return color_table.RaftingContainerGradientEnd; } } 86 public static Color SeparatorDark { get { return color_table.SeparatorDark; } } 87 public static Color SeparatorLight { get { return color_table.SeparatorLight; } } 88 public static Color StatusStripGradientBegin { get { return color_table.StatusStripGradientBegin; } } 89 public static Color StatusStripGradientEnd { get { return color_table.StatusStripGradientEnd; } } 90 public static Color ToolStripBorder { get { return color_table.ToolStripBorder; } } 91 public static Color ToolStripContentPanelGradientBegin { get { return color_table.ToolStripContentPanelGradientBegin; } } 92 public static Color ToolStripContentPanelGradientEnd { get { return color_table.ToolStripContentPanelGradientEnd; } } 93 public static Color ToolStripDropDownBackground { get { return color_table.ToolStripDropDownBackground; } } 94 public static Color ToolStripGradientBegin { get { return color_table.ToolStripGradientBegin; } } 95 public static Color ToolStripGradientEnd { get { return color_table.ToolStripGradientEnd; } } 96 public static Color ToolStripGradientMiddle { get { return color_table.ToolStripGradientMiddle; } } 97 public static Color ToolStripPanelGradientBegin { get { return color_table.ToolStripPanelGradientBegin; } } 98 public static Color ToolStripPanelGradientEnd { get { return color_table.ToolStripPanelGradientEnd; } } 99 #endregion 100 } 101 } 102