2 // ProfessionalColors.cs
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:
12 // The above copyright notice and color_table permission notice shall be
13 // included in all copies or substantial portions of the Software.
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.
23 // Copyright (c) 2006 Novell, Inc.
26 // Jonathan Pobst (monkey@jpobst.com)
31 using System.Windows.Forms.VisualStyles;
33 namespace System.Windows.Forms
35 public sealed class ProfessionalColors
37 private static ProfessionalColorTable color_table = new ProfessionalColorTable();
39 #region Private Constructor
40 private ProfessionalColors () {}
43 #region Static Properties
44 public static Color ButtonCheckedGradientBegin { get { return color_table.ButtonCheckedGradientBegin; } }
45 public static Color ButtonCheckedGradientEnd { get { return color_table.ButtonCheckedGradientEnd; } }
46 public static Color ButtonCheckedGradientMiddle { get { return color_table.ButtonCheckedGradientMiddle; } }
47 public static Color ButtonCheckedHighlight { get { return color_table.ButtonCheckedHighlight; } }
48 public static Color ButtonCheckedHighlightBorder { get { return color_table.ButtonCheckedHighlightBorder; } }
49 public static Color ButtonPressedBorder { get { return color_table.ButtonPressedBorder; } }
50 public static Color ButtonPressedGradientBegin { get { return color_table.ButtonPressedGradientBegin; } }
51 public static Color ButtonPressedGradientEnd { get { return color_table.ButtonPressedGradientEnd; } }
52 public static Color ButtonPressedGradientMiddle { get { return color_table.ButtonPressedGradientMiddle; } }
53 public static Color ButtonPressedHighlight { get { return color_table.ButtonPressedHighlight; } }
54 public static Color ButtonPressedHighlightBorder { get { return color_table.ButtonPressedHighlightBorder; } }
55 public static Color ButtonSelectedBorder { get { return color_table.ButtonSelectedBorder; } }
56 public static Color ButtonSelectedGradientBegin { get { return color_table.ButtonSelectedGradientBegin; } }
57 public static Color ButtonSelectedGradientEnd { get { return color_table.ButtonSelectedGradientEnd; } }
58 public static Color ButtonSelectedGradientMiddle { get { return color_table.ButtonSelectedGradientMiddle; } }
59 public static Color ButtonSelectedHighlight { get { return color_table.ButtonSelectedHighlight; } }
60 public static Color ButtonSelectedHighlightBorder { get { return color_table.ButtonSelectedHighlightBorder; } }
61 public static Color CheckBackground { get { return color_table.CheckBackground; } }
62 public static Color CheckPressedBackground { get { return color_table.CheckPressedBackground; } }
63 public static Color CheckSelectedBackground { get { return color_table.CheckSelectedBackground; } }
64 public static Color GripDark { get { return color_table.GripDark; } }
65 public static Color GripLight { get { return color_table.GripLight; } }
66 public static Color ImageMarginGradientBegin { get { return color_table.ImageMarginGradientBegin; } }
67 public static Color ImageMarginGradientEnd { get { return color_table.ImageMarginGradientEnd; } }
68 public static Color ImageMarginGradientMiddle { get { return color_table.ImageMarginGradientMiddle; } }
69 public static Color ImageMarginRevealedGradientBegin { get { return color_table.ImageMarginRevealedGradientBegin; } }
70 public static Color ImageMarginRevealedGradientEnd { get { return color_table.ImageMarginRevealedGradientEnd; } }
71 public static Color ImageMarginRevealedGradientMiddle { get { return color_table.ImageMarginRevealedGradientMiddle; } }
72 public static Color MenuBorder { get { return color_table.MenuBorder; } }
73 public static Color MenuItemBorder { get { return color_table.MenuItemBorder; } }
74 public static Color MenuItemPressedGradientBegin { get { return color_table.MenuItemPressedGradientBegin; } }
75 public static Color MenuItemPressedGradientEnd { get { return color_table.MenuItemPressedGradientEnd; } }
76 public static Color MenuItemPressedGradientMiddle { get { return color_table.MenuItemPressedGradientMiddle; } }
77 public static Color MenuItemSelected { get { return color_table.MenuItemSelected; } }
78 public static Color MenuItemSelectedGradientBegin { get { return color_table.MenuItemSelectedGradientBegin; } }
79 public static Color MenuItemSelectedGradientEnd { get { return color_table.MenuItemSelectedGradientEnd; } }
80 public static Color MenuStripGradientBegin { get { return color_table.MenuStripGradientBegin; } }
81 public static Color MenuStripGradientEnd { get { return color_table.MenuStripGradientEnd; } }
82 public static Color OverflowButtonGradientBegin { get { return color_table.OverflowButtonGradientBegin; } }
83 public static Color OverflowButtonGradientEnd { get { return color_table.OverflowButtonGradientEnd; } }
84 public static Color OverflowButtonGradientMiddle { get { return color_table.OverflowButtonGradientMiddle; } }
85 public static Color RaftingContainerGradientBegin { get { return color_table.RaftingContainerGradientBegin; } }
86 public static Color RaftingContainerGradientEnd { get { return color_table.RaftingContainerGradientEnd; } }
87 public static Color SeparatorDark { get { return color_table.SeparatorDark; } }
88 public static Color SeparatorLight { get { return color_table.SeparatorLight; } }
89 public static Color StatusStripGradientBegin { get { return color_table.StatusStripGradientBegin; } }
90 public static Color StatusStripGradientEnd { get { return color_table.StatusStripGradientEnd; } }
91 public static Color ToolStripBorder { get { return color_table.ToolStripBorder; } }
92 public static Color ToolStripContentPanelGradientBegin { get { return color_table.ToolStripContentPanelGradientBegin; } }
93 public static Color ToolStripContentPanelGradientEnd { get { return color_table.ToolStripContentPanelGradientEnd; } }
94 public static Color ToolStripDropDownBackground { get { return color_table.ToolStripDropDownBackground; } }
95 public static Color ToolStripGradientBegin { get { return color_table.ToolStripGradientBegin; } }
96 public static Color ToolStripGradientEnd { get { return color_table.ToolStripGradientEnd; } }
97 public static Color ToolStripGradientMiddle { get { return color_table.ToolStripGradientMiddle; } }
98 public static Color ToolStripPanelGradientBegin { get { return color_table.ToolStripPanelGradientBegin; } }
99 public static Color ToolStripPanelGradientEnd { get { return color_table.ToolStripPanelGradientEnd; } }