menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Office2003Colors - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class Office2003Colors

    Inheritance
    System.Object
    Office2003Colors
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Forms
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public class Office2003Colors

    Constructors

    Office2003Colors()

    Declaration
    public Office2003Colors()

    Properties

    CheckedColor

    Gets / sets the background color of a check box in the drop-down menu margin or a checked item in the toolbar.

    Declaration
    public static Color CheckedColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    The default value is derived from a system color.

    Remarks

    Setting this property to Color.Empty will actually reset the previous set color and make this property return the default color the next time it is queried.

    CheckedSelColor

    Gets / sets the background color of a selected check box in the drop-down menu margin or a checked item in the toolbar.

    Declaration
    public static Color CheckedSelColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    The default value is derived from a system color.

    Remarks

    Setting this property to Color.Empty will actually reset the previous set color and make this property return the default color the next time it is queried.

    CommandBarDropDownColorDark

    Gets or sets the dark-gradient color of quick customize dropdown button.

    Declaration
    public static Color CommandBarDropDownColorDark { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    The default value is derived from a system color.

    Remarks

    Setting this property to Color.Empty will actually reset the previous set color and make this property return the default color the next time it is queried.

    CommandBarDropDownColorLight

    Gets or sets the light-gradient color of quick customize dropdown button.

    Declaration
    public static Color CommandBarDropDownColorLight { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    The default value is derived from a system color.

    Remarks

    Setting this property to Color.Empty will actually reset the previous set color and make this property return the default color the next time it is queried.

    ControlBorderColorDark

    Gets or sets the dark-gradient border color of bars.

    Declaration
    public static Color ControlBorderColorDark { get; set; }
    Property Value
    Type
    System.Drawing.Color

    ControlBorderColorLight

    Gets or sets the light-gradient border color of bars.

    Declaration
    public static Color ControlBorderColorLight { get; set; }
    Property Value
    Type
    System.Drawing.Color

    ControlGripperColor

    Gets or sets the color of the gripper.

    Declaration
    public static Color ControlGripperColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    The default value is derived from a system color.

    Remarks

    Setting this property to Color.Empty will actually reset the previous set color and make this property return the default color the next time it is queried.

    DockBarColorDark

    Gets or sets the left-gradient color of docked bars.

    Declaration
    public static Color DockBarColorDark { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    The default value is derived from a system color.

    Remarks

    Setting this property to Color.Empty will actually reset the previous set color and make this property return the default color the next time it is queried.

    DockBarColorLight

    Gets or sets the right-gradient color of docked bars.

    Declaration
    public static Color DockBarColorLight { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    The default value is derived from a system color.

    Remarks

    Setting this property to Color.Empty will actually reset the previous set color and make this property return the default color the next time it is queried.

    DropdownBorderColor

    Gets / sets the border color of a drop-down menu.

    Declaration
    public static Color DropdownBorderColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    The default value is derived from a system color.

    Remarks

    Setting this property to Color.Empty will actually reset the previous set color and make this property return the default color the next time it is queried.

    FloatingCommandBarCaptionColor

    Gets or sets the caption background color of floating bars.

    Declaration
    public static Color FloatingCommandBarCaptionColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    The default value is derived from a system color.

    Remarks

    Setting this property to Color.Empty will actually reset the previous set color and make this property return the default color the next time it is queried.

    FloatingCommandBarItemPressedColor

    Gets or sets the color for the floating command bar item which is pressed.

    Declaration
    public static Color FloatingCommandBarItemPressedColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    The default value is derived from a system color.

    Remarks

    Setting this property to Color.Empty will actually reset the previous set color and make this property return the default color the next time it is queried.

    GroupBarHeaderColorDark

    Gets or sets the dark-gradient color of groupBar header.

    Declaration
    public static Color GroupBarHeaderColorDark { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    The default value is derived from a system color.

    Remarks

    Setting this property to Color.Empty will actually reset the previous set color and make this property return the default color the next time it is queried.

    GroupBarHeaderColorLight

    Gets or sets the light-gradient color of groupBar header.

    Declaration
    public static Color GroupBarHeaderColorLight { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    The default value is derived from a system color.

    Remarks

    Setting this property to Color.Empty will actually reset the previous set color and make this property return the default color the next time it is queried.

    GroupBarHighlightColorDark

    Gets or sets the dark-gradient highlight color of groupBarItem.

    Declaration
    public static Color GroupBarHighlightColorDark { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    The default value is derived from a system color.

    Remarks

    Setting this property to Color.Empty will actually reset the previous set color and make this property return the default color the next time it is queried.

    GroupBarHighlightColorLight

    Gets or sets the light-gradient highlight color of groupBarItem.

    Declaration
    public static Color GroupBarHighlightColorLight { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    The default value is derived from a system color.

    Remarks

    Setting this property to Color.Empty will actually reset the previous set color and make this property return the default color the next time it is queried.

    GroupBarItemTextColor

    Gets / sets the color of the text in a GroupBar item.

    Declaration
    public static Color GroupBarItemTextColor { get; set; }
    Property Value
    Type
    System.Drawing.Color

    GroupBarItemTextSelectedHighlightColor

    Gets / sets the highlight color to be used for the selected text of the GroupBar item.

    Declaration
    public static Color GroupBarItemTextSelectedHighlightColor { get; set; }
    Property Value
    Type
    System.Drawing.Color

    GroupBarSelectedColorDark

    Gets or sets the dark-gradient color of selected groupBarItem.

    Declaration
    public static Color GroupBarSelectedColorDark { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    The default value is derived from a system color.

    Remarks

    Setting this property to Color.Empty will actually reset the previous set color and make this property return the default color the next time it is queried.

    GroupBarSelectedColorLight

    Gets or sets the light-gradient color of selected groupBarItem.

    Declaration
    public static Color GroupBarSelectedColorLight { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    The default value is derived from a system color.

    Remarks

    Setting this property to Color.Empty will actually reset the previous set color and make this property return the default color the next time it is queried.

    GroupBarSelectedHighlightColorDark

    Gets or sets the dark-gradient highlight color of selected groupBarItem.

    Declaration
    public static Color GroupBarSelectedHighlightColorDark { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    The default value is derived from a system color.

    Remarks

    Setting this property to Color.Empty will actually reset the previous set color and make this property return the default color the next time it is queried.

    GroupBarSelectedHighlightColorLight

    Gets or sets the light-gradient highlight color of selected groupBarItem.

    Declaration
    public static Color GroupBarSelectedHighlightColorLight { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    The default value is derived from a system color.

    Remarks

    Setting this property to Color.Empty will actually reset the previous set color and make this property return the default color the next time it is queried.

    MenuExpandedItemsMarginColorLeft

    Gets / sets the left-gradient color of the drop-down menu margin of the expanded menu items.

    Declaration
    public static Color MenuExpandedItemsMarginColorLeft { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    The default value is derived from a system color.

    Remarks

    Setting this property to Color.Empty will actually reset the previous set color and make this property return the default color the next time it is queried.

    MenuExpandedItemsMarginColorRight

    Gets / sets the right-gradient color of the drop-down menu margin of the expanded menu items.

    Declaration
    public static Color MenuExpandedItemsMarginColorRight { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    The default value is derived from a system color.

    Remarks

    Setting this property to Color.Empty will actually reset the previous set color and make this property return the default color the next time it is queried.

    MenuItemHotColorDark

    Gets or sets the dark-gradient color of menu item for hot-tracking.

    Declaration
    public static Color MenuItemHotColorDark { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    The default value is derived from a system color.

    Remarks

    Setting this property to Color.Empty will actually reset the previous set color and make this property return the default color the next time it is queried.

    MenuItemHotColorLight

    Gets or sets the light-gradient color of menu item for hot-tracking.

    Declaration
    public static Color MenuItemHotColorLight { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    The default value is derived from a system color.

    Remarks

    Setting this property to Color.Empty will actually reset the previous set color and make this property return the default color the next time it is queried.

    MenuItemPressedColorDark

    Gets or sets the dark-gradient color of quick customize button when it is pressed.

    Declaration
    public static Color MenuItemPressedColorDark { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    The default value is derived from a system color.

    Remarks

    Setting this property to Color.Empty will actually reset the previous set color and make this property return the default color the next time it is queried.

    MenuItemPressedColorLight

    Gets or sets the light-gradient color of quick customize button when it is pressed.

    Declaration
    public static Color MenuItemPressedColorLight { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    The default value is derived from a system color.

    Remarks

    Setting this property to Color.Empty will actually reset the previous set color and make this property return the default color the next time it is queried.

    MenuMarginColorDark

    Gets / sets the right-gradient color of the drop-down menu margin.

    Declaration
    public static Color MenuMarginColorDark { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    The default value is derived from a system color.

    Remarks

    Setting this property to Color.Empty will actually reset the previous set color and make this property return the default color the next time it is queried.

    MenuMarginColorLight

    Gets / sets the left-gradient color of the drop-down menu margin.

    Declaration
    public static Color MenuMarginColorLight { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    The default value is derived from a system color.

    Remarks

    Setting this property to Color.Empty will actually reset the previous set color and make this property return the default color the next time it is queried.

    PressedSelColor

    Gets / sets the pressed-selected color for a menu item in a toolbar.

    Declaration
    public static Color PressedSelColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    The default value is derived from a system color.

    Remarks

    Setting this property to Color.Empty will actually reset the previous set color and make this property return the default color the next time it is queried.

    SelBorderColor

    Gets / sets the border color of a menu item selection in the drop-down menus and toolbars.

    Declaration
    public static Color SelBorderColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    The default value is derived from a system color.

    Remarks

    Setting this property to Color.Empty will actually reset the previous set color and make this property return the default color the next time it is queried.

    SelColor

    Gets / sets the selected color for a menu item in a drop-down menu.

    Declaration
    public static Color SelColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    The default value is derived from a system color.

    Remarks

    Setting this property to Color.Empty will actually reset the previous set color and make this property return the default color the next time it is queried.

    SeparatorColor

    Gets / sets the color of the separator line between the bar items.

    Declaration
    public static Color SeparatorColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    The default value is derived from a system color.

    Remarks

    Setting this property to Color.Empty will actually reset the previous set color and make this property return the default color the next time it is queried.

    UseThemedColors

    Declaration
    public static bool UseThemedColors { get; }
    Property Value
    Type
    System.Boolean

    Methods

    SysColorsChanged(Boolean)

    Call this method to indicate that the system colors have changed.

    Declaration
    public static void SysColorsChanged(bool updateColorsNow)
    Parameters
    Type Name Description
    System.Boolean updateColorsNow

    Indicates whether to update colors immediately or later with a call to UpdateMenuColors().

    Remarks

    Follow the same system color change notification pattern as explained in the MenuColors class reference.

    UpdateMenuColors()

    Declaration
    public static void UpdateMenuColors()

    Events

    MenuColorsChanged

    Fired when the colors have changed either because of change in system colors or when a custom color is specified using one of the properties.

    Declaration
    public static event EventHandler MenuColorsChanged
    Event Type
    Type
    System.EventHandler
    Remarks

    Take a look at the class reference for this class for information on how to notify this class regarding system color changes.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved