using System; using System.Text; using System.Drawing; namespace DevComponents.DotNetBar.Rendering { /// /// Defines color table for Ribbon Control. /// public class Office2007RibbonColorTable { /// /// Gets or sets the colors for the outer border. /// public LinearGradientColorTable OuterBorder = new LinearGradientColorTable(ColorScheme.GetColor("8DB2E3"), ColorScheme.GetColor("88A1C2")); /// /// Gets or sets the colors for the inner border. /// public LinearGradientColorTable InnerBorder = new LinearGradientColorTable(ColorScheme.GetColor("E7EFF8"), ColorScheme.GetColor("C0F9FF")); /// /// Gets or sets the colors for the tabs background area. /// public LinearGradientColorTable TabsBackground = new LinearGradientColorTable(ColorScheme.GetColor("BFDBFF"), Color.Empty); /// /// Gets or sets the colors for the tabs background area when Windows Glass is enabled. /// public LinearGradientColorTable TabsGlassBackground = new LinearGradientColorTable(ColorScheme.GetColor("BFDBFF"), Color.Empty); /// /// Gets or sets the color of border which is drawn above the tab. /// public Color TabDividerBorder = ColorScheme.GetColor("AECAF0"); /// /// Gets or sets the light color of border which is drawn above the tab. /// public Color TabDividerBorderLight = ColorScheme.GetColor("D4E3F5"); /// /// Gets or sets the round corner size for the ribbon control parts. /// public int CornerSize = 3; /// /// Gets or sets the height in pixels of top background part. /// public float PanelTopBackgroundHeight = 15; /// /// Gets or sets the top background colors. /// public LinearGradientColorTable PanelTopBackground = new LinearGradientColorTable(ColorScheme.GetColor("DBE6F4"), ColorScheme.GetColor("CFDDEF")); /// /// Gets or sets the bottom background colors. /// public LinearGradientColorTable PanelBottomBackground = new LinearGradientColorTable(ColorScheme.GetColor("C9D9ED"), ColorScheme.GetColor("E7F2FF")); /// /// Gets or sets the background image used on Office 2007 style start button displayed in top-left corner of ribbon control. /// Note that image assigned to all StartButton properties must be the same size. The size for the button will be determined by image /// size set on this property. /// public Image StartButtonDefault = null; /// /// Gets or sets the background image used on Office 2007 style start button displayed in top-left corner of ribbon control when mouse is over the button. /// public Image StartButtonMouseOver = null; /// /// Gets or sets the background image used on Office 2007 style start button displayed in top-left corner of ribbon control when button is pressed. /// public Image StartButtonPressed = null; } }