In This Article

IWindowsColorScheme Interface

Defines a Windows color scheme.

public interface IWindowsColorScheme

Properties

BarButtonCheckedBack

Gets or sets the background color of a checked bar button.

Color BarButtonCheckedBack { get; set; }

Property Value

Color:

A Color object specifying the background color of a checked bar button.

BarButtonCheckedBackGradientBegin

Gets or sets the begin gradient color of a checked bar button background.

Color BarButtonCheckedBackGradientBegin { get; set; }

Property Value

Color:

A Color object specifying the begin gradient color of a checked bar button background.

BarButtonCheckedBackGradientEnd

Gets or sets the end gradient color of a checked bar button background.

Color BarButtonCheckedBackGradientEnd { get; set; }

Property Value

Color:

A Color object specifying the end gradient color of a checked bar button background.

BarButtonCheckedBackGradientMiddle

Gets or sets the middle gradient color of a checked bar button background.

Color BarButtonCheckedBackGradientMiddle { get; set; }

Property Value

Color:

A Color object specifying the middle gradient color of a checked bar button background.

BarButtonCheckedBorder

Gets or sets the border color of a checked bar button.

Color BarButtonCheckedBorder { get; set; }

Property Value

Color:

A Color object specifying the border color of a checked bar button.

BarButtonHotBack

Gets or sets the background color of a hot bar button.

Color BarButtonHotBack { get; set; }

Property Value

Color:

A Color object specifying the background color of a hot bar button.

BarButtonHotBackGradientBegin

Gets or sets the begin gradient color of a hot bar button background.

Color BarButtonHotBackGradientBegin { get; set; }

Property Value

Color:

A Color object specifying the begin gradient color of a hot bar button background.

BarButtonHotBackGradientEnd

Gets or sets the end gradient color of a hot bar button background.

Color BarButtonHotBackGradientEnd { get; set; }

Property Value

Color:

A Color object specifying the end gradient color of a hot bar button background.

BarButtonHotBackGradientMiddle

Gets or sets the middle gradient color of a hot bar button background.

Color BarButtonHotBackGradientMiddle { get; set; }

Property Value

Color:

A Color object specifying the middle gradient color of a hot bar button background.

BarButtonHotBorder

Gets or sets the border color of a hot bar button.

Color BarButtonHotBorder { get; set; }

Property Value

Color:

A Color object specifying the border color of a hot bar button.

BarButtonPressedBack

Gets or sets the background color of a pressed bar button.

Color BarButtonPressedBack { get; set; }

Property Value

Color:

A Color object specifying the background color of a pressed bar button.

BarButtonPressedBackGradientBegin

Gets or sets the begin gradient color of a pressed bar button background.

Color BarButtonPressedBackGradientBegin { get; set; }

Property Value

Color:

A Color object specifying the begin gradient color of a pressed bar button background.

BarButtonPressedBackGradientEnd

Gets or sets the end gradient color of a pressed bar button background.

Color BarButtonPressedBackGradientEnd { get; set; }

Property Value

Color:

A Color object specifying the end gradient color of a pressed bar button background.

BarButtonPressedBackGradientMiddle

Gets or sets the middle gradient color of a pressed bar button background.

Color BarButtonPressedBackGradientMiddle { get; set; }

Property Value

Color:

A Color object specifying the middle gradient color of a pressed bar button background.

BarButtonPressedBorder

Gets or sets the border color of a pressed bar button.

Color BarButtonPressedBorder { get; set; }

Property Value

Color:

A Color object specifying the border color of a pressed bar button.

BarButtonSelectedBorder

Gets or sets the border color of a selected bar button.

Color BarButtonSelectedBorder { get; set; }

Property Value

Color:

A Color object specifying the border color of a selected bar button.

BarButtonText

Gets or sets the color of bar button text.

Color BarButtonText { get; set; }

Property Value

Color:

A Color object specifying the color of bar button text.

BarButtonTextAlternate

Gets or sets the color of alternate bar button text.

Color BarButtonTextAlternate { get; set; }

Property Value

Color:

A Color object specifying the color of alternate bar button text.

BarButtonTextDisabled

Gets or sets the color of disabled bar button text.

Color BarButtonTextDisabled { get; set; }

Property Value

Color:

A Color object specifying the color of disabled bar button text.

BarLabelBack

Gets or sets the background color of a bar label.

Color BarLabelBack { get; set; }

Property Value

Color:

A Color object specifying the background color of a bar label.

BaseColorSchemeType

Gets a WindowsColorSchemeType that indicates the base color scheme type represented by this scheme.

WindowsColorSchemeType BaseColorSchemeType { get; }

Property Value

WindowsColorSchemeType:

A WindowsColorSchemeType that indicates the base color scheme type represented by this scheme.

ColorSchemeType

Gets a WindowsColorSchemeType that indicates the resolved color scheme type represented by this scheme.

WindowsColorSchemeType ColorSchemeType { get; }

Property Value

WindowsColorSchemeType:

A WindowsColorSchemeType that indicates the resolved color scheme type represented by this scheme.

DockGuideArrowBack

Gets or sets the background color of an arrow on a dock guide.

Color DockGuideArrowBack { get; set; }

Property Value

Color:

A Color object specifying the background color of an arrow on a dock guide.

DockGuideBack

Gets or sets the background color of a dock guide.

Color DockGuideBack { get; set; }

Property Value

Color:

A Color object specifying the background color of a dock guide.

DockGuideBorder

Gets or sets the border color of a dock guide.

Color DockGuideBorder { get; set; }

Property Value

Color:

A Color object specifying the border color of a dock guide.

DockGuideButtonBack

Gets or sets the background color of a button on a dock guide.

Color DockGuideButtonBack { get; set; }

Property Value

Color:

A Color object specifying the background color of a button on a dock guide.

DockGuideButtonBorder

Gets or sets the border color of a button on a dock guide.

Color DockGuideButtonBorder { get; set; }

Property Value

Color:

A Color object specifying the border color of a button on a dock guide.

DockGuideGlyphBack

Gets or sets the background color of a glyph on a dock guide.

Color DockGuideGlyphBack { get; set; }

Property Value

Color:

A Color object specifying the background color of a glyph on a dock guide.

DockGuideGlyphBorder

Gets or sets the border color of a glyph on a dock guide.

Color DockGuideGlyphBorder { get; set; }

Property Value

Color:

A Color object specifying the border color of a glyph on a dock guide.

DockingWindowPreviewBack

Gets or sets the background color of the dock preview shown for a docking window.

Color DockingWindowPreviewBack { get; set; }

Property Value

Color:

A Color object specifying the background color of the dock preview shown for a docking window.

DockingWindowPreviewBorder

Gets or sets the border color of the dock preview shown for a docking window.

Color DockingWindowPreviewBorder { get; set; }

Property Value

Color:

A Color object specifying the border color of the dock preview shown for a docking window.

FormBackGradientBegin

Gets or sets the begin gradient color of a form background.

Color FormBackGradientBegin { get; set; }

Property Value

Color:

A Color object specifying the begin gradient color of a form background.

FormBackGradientEnd

Gets or sets the end gradient color of a form background.

Color FormBackGradientEnd { get; set; }

Property Value

Color:

A Color object specifying the end gradient color of a form background.

Intent

Gets a WindowsColorSchemeIntent value that specifies whether the color scheme is meant to be light, dark, etc.

WindowsColorSchemeIntent Intent { get; }

Property Value

WindowsColorSchemeIntent:

One of the WindowsColorSchemeType values.

MenuBack

Gets or sets the background color of a menu.

Color MenuBack { get; set; }

Property Value

Color:

A Color object specifying the background color of a menu.

MenuBorder

Gets or sets the border color of a menu.

Color MenuBorder { get; set; }

Property Value

Color:

A Color object specifying the border color of a menu.

MenuIconColumnBackGradientBegin

Gets or sets the begin gradient color of a menu icon column background.

Color MenuIconColumnBackGradientBegin { get; set; }

Property Value

Color:

A Color object specifying the begin gradient color of a menu icon column background.

MenuIconColumnBackGradientEnd

Gets or sets the end gradient color of a menu icon column background.

Color MenuIconColumnBackGradientEnd { get; set; }

Property Value

Color:

A Color object specifying the end gradient color of a menu icon column background.

MenuIconColumnBackGradientMiddle

Gets or sets the middle gradient color of a menu icon column background.

Color MenuIconColumnBackGradientMiddle { get; set; }

Property Value

Color:

A Color object specifying the middle gradient color of a menu icon column background.

NavigationBarGripperDark

Gets or sets the dark color of a navigation bar gripper.

Color NavigationBarGripperDark { get; set; }

Property Value

Color:

A Color object specifying the dark color of a navigation bar gripper.

NavigationBarGripperLight

Gets or sets the light color of a navigation bar gripper.

Color NavigationBarGripperLight { get; set; }

Property Value

Color:

A Color object specifying the light color of a navigation bar gripper.

NavigationBarHeaderBackGradientBegin

Gets or sets the begin gradient color of a navigationbar header background.

Color NavigationBarHeaderBackGradientBegin { get; set; }

Property Value

Color:

A Color object specifying the begin gradient color of a navigationbar header background.

NavigationBarHeaderBackGradientEnd

Gets or sets the end gradient color of a navigationbar header background.

Color NavigationBarHeaderBackGradientEnd { get; set; }

Property Value

Color:

A Color object specifying the end gradient color of a navigationbar header background.

NavigationBarHeaderText

Gets or sets the color of navigationbar header text.

Color NavigationBarHeaderText { get; set; }

Property Value

Color:

A Color object specifying the color of navigationbar header text.

NavigationPaneButtonBackGradientBegin

Gets or sets the begin gradient color of a navigationbar pane button background.

Color NavigationPaneButtonBackGradientBegin { get; set; }

Property Value

Color:

A Color object specifying the begin gradient color of a navigationbar pane button background.

NavigationPaneButtonBackGradientEnd

Gets or sets the end gradient color of a navigationbar pane button background.

Color NavigationPaneButtonBackGradientEnd { get; set; }

Property Value

Color:

A Color object specifying the end gradient color of a navigationbar pane button background.

NavigationPaneButtonBackGradientMid1

Gets or sets the middle gradient color of a navigationbar pane button background.

Color NavigationPaneButtonBackGradientMid1 { get; set; }

Property Value

Color:

A Color object specifying the middle gradient color of a navigationbar pane button background.

NavigationPaneButtonBackGradientMid2

Gets or sets the middle gradient color of a navigationbar pane button background.

Color NavigationPaneButtonBackGradientMid2 { get; set; }

Property Value

Color:

A Color object specifying the middle gradient color of a navigationbar pane button background.

NavigationPaneButtonHotBackGradientBegin

Gets or sets the begin gradient color of a hot navigationbar pane button background.

Color NavigationPaneButtonHotBackGradientBegin { get; set; }

Property Value

Color:

A Color object specifying the begin gradient color of a hot navigationbar pane button background.

NavigationPaneButtonHotBackGradientEnd

Gets or sets the end gradient color of a hot navigationbar pane button background.

Color NavigationPaneButtonHotBackGradientEnd { get; set; }

Property Value

Color:

A Color object specifying the end gradient color of a hot navigationbar pane button background.

NavigationPaneButtonHotBackGradientMid1

Gets or sets the middle gradient color of a navigationbar pane button background.

Color NavigationPaneButtonHotBackGradientMid1 { get; set; }

Property Value

Color:

A Color object specifying the middle gradient color of a hot navigationbar pane button background.

NavigationPaneButtonHotBackGradientMid2

Gets or sets the middle gradient color of a navigationbar pane button background.

Color NavigationPaneButtonHotBackGradientMid2 { get; set; }

Property Value

Color:

A Color object specifying the middle gradient color of a hot navigationbar pane button background.

NavigationPaneButtonHotPressedBackGradientBegin

Gets or sets the begin gradient color of a hot/pressed navigationbar pane button background.

Color NavigationPaneButtonHotPressedBackGradientBegin { get; set; }

Property Value

Color:

A Color object specifying the begin gradient color of a hot/pressed navigationbar pane button background.

NavigationPaneButtonHotPressedBackGradientEnd

Gets or sets the end gradient color of a hot/pressed navigationbar pane button background.

Color NavigationPaneButtonHotPressedBackGradientEnd { get; set; }

Property Value

Color:

A Color object specifying the end gradient color of a hot/pressed navigationbar pane button background.

NavigationPaneButtonHotPressedBackGradientMid1

Gets or sets the middle gradient color of a hot/pressed navigationbar pane button background.

Color NavigationPaneButtonHotPressedBackGradientMid1 { get; set; }

Property Value

Color:

A Color object specifying the middle gradient color of a hot/pressed navigationbar pane button background.

NavigationPaneButtonHotPressedBackGradientMid2

Gets or sets the middle gradient color of a hot/pressed navigationbar pane button background.

Color NavigationPaneButtonHotPressedBackGradientMid2 { get; set; }

Property Value

Color:

A Color object specifying the middle gradient color of a hot/pressed navigationbar pane button background.

NavigationPaneButtonPressedBackGradientBegin

Gets or sets the begin gradient color of a pressed navigationbar pane button background.

Color NavigationPaneButtonPressedBackGradientBegin { get; set; }

Property Value

Color:

A Color object specifying the begin gradient color of a pressed navigationbar pane button background.

NavigationPaneButtonPressedBackGradientEnd

Gets or sets the end gradient color of a pressed navigationbar pane button background.

Color NavigationPaneButtonPressedBackGradientEnd { get; set; }

Property Value

Color:

A Color object specifying the end gradient color of a pressed navigationbar pane button background.

NavigationPaneButtonPressedBackGradientMid1

Gets or sets the middle gradient color of a pressed navigationbar pane button background.

Color NavigationPaneButtonPressedBackGradientMid1 { get; set; }

Property Value

Color:

A Color object specifying the middle gradient color of a pressed navigationbar pane button background.

NavigationPaneButtonPressedBackGradientMid2

Gets or sets the middle gradient color of a pressed navigationbar pane button background.

Color NavigationPaneButtonPressedBackGradientMid2 { get; set; }

Property Value

Color:

A Color object specifying the middle gradient color of a pressed navigationbar pane button background.

StatusBarBack

Gets or sets the background color for a status bar.

Color StatusBarBack { get; set; }

Property Value

Color:

A Color object specifying the background color for a status bar.

StatusBarGripperDark

Gets or sets the dark color for the status bar gripper.

Color StatusBarGripperDark { get; set; }

Property Value

Color:

A Color object specifying the dark color for the gripper.

StatusBarGripperLight

Gets or sets the light color for the status bar gripper.

Color StatusBarGripperLight { get; set; }

Property Value

Color:

A Color object specifying the light color for the gripper.

StatusBarPanelBorder

Gets or sets the border color for a status bar.

Color StatusBarPanelBorder { get; set; }

Property Value

Color:

A Color object specifying the border color for a status bar.

StatusBarPanelDisabledText

Gets or sets the disabled foreground color for a status bar.

Color StatusBarPanelDisabledText { get; set; }

Property Value

Color:

A Color object specifying the disabled foreground color for a status bar.

StatusBarPanelLinkActiveText

Gets or sets the foreground color a link displayed in a status bar when it is active (i.e., mouse over).

Color StatusBarPanelLinkActiveText { get; set; }

Property Value

Color:

A Color object specifying the foreground color of the link when active.

StatusBarPanelLinkText

Gets or sets the normal foreground color a link displayed in a status bar.

Color StatusBarPanelLinkText { get; set; }

Property Value

Color:

A Color object specifying the foreground color of the link.

StatusBarPanelLinkVisitedText

Gets or sets the foreground color a link displayed in a status bar that has been previously visited.

Color StatusBarPanelLinkVisitedText { get; set; }

Property Value

Color:

A Color object specifying the foreground color of the link when previously visited.

StatusBarPanelText

Gets or sets the foreground color for a status bar.

Color StatusBarPanelText { get; set; }

Property Value

Color:

A Color object specifying the foreground color for a status bar.

StatusBarProgressFilledBack

Gets or sets the filled background color of a progress bar displayed in a status bar.

Color StatusBarProgressFilledBack { get; set; }

Property Value

Color:

A Color object specifying the filled background color of the progress bar.

Remarks

Value does not apply to renderers which support native visual styles.

StatusBarProgressFilledText

Gets or sets the filled foreground color of a progress bar displayed in a status bar.

Color StatusBarProgressFilledText { get; set; }

Property Value

Color:

A Color object specifying the filled foreground color of the progress bar.

Remarks

Value does not apply to renderers which support native visual styles.

StatusBarProgressUnfilledBack

Gets or sets the unfilled background color of a progress bar displayed in a status bar.

Color StatusBarProgressUnfilledBack { get; set; }

Property Value

Color:

A Color object specifying the unfilled background color of the progress bar.

Remarks

Value does not apply to renderers which support native visual styles.

StatusBarProgressUnfilledText

Gets or sets the unfilled foreground color of a progress bar displayed in a status bar.

Color StatusBarProgressUnfilledText { get; set; }

Property Value

Color:

A Color object specifying the unfilled foreground color of the progress bar.

Remarks

Value does not apply to renderers which support native visual styles.

ToolBarBackGradientBegin

Gets or sets the begin gradient color of a toolbar background.

Color ToolBarBackGradientBegin { get; set; }

Property Value

Color:

A Color object specifying the begin gradient color of a toolbar background.

ToolBarBackGradientEnd

Gets or sets the end gradient color of a toolbar background.

Color ToolBarBackGradientEnd { get; set; }

Property Value

Color:

A Color object specifying the end gradient color of a toolbar background.

ToolBarBackGradientMiddle

Gets or sets the middle gradient color of a toolbar background.

Color ToolBarBackGradientMiddle { get; set; }

Property Value

Color:

A Color object specifying the middle gradient color of a toolbar background.

ToolBarFloatingTitleBack

Gets or sets the background color of a floating toolbar title bar.

Color ToolBarFloatingTitleBack { get; set; }

Property Value

Color:

A Color object specifying the background color of a floating toolbar title bar.

ToolBarFloatingTitleText

Gets or sets the text color of a floating toolbar title bar.

Color ToolBarFloatingTitleText { get; set; }

Property Value

Color:

A Color object specifying the text color of a floating toolbar title bar.

ToolBarGripperDark

Gets or sets the dark color of a toolbar gripper.

Color ToolBarGripperDark { get; set; }

Property Value

Color:

A Color object specifying the dark color of a toolbar gripper.

ToolBarGripperLight

Gets or sets the light color of a toolbar gripper.

Color ToolBarGripperLight { get; set; }

Property Value

Color:

A Color object specifying the light color of a toolbar gripper.

ToolBarOptionsBackGradientBegin

Gets or sets the begin gradient color of a toolbar options button background.

Color ToolBarOptionsBackGradientBegin { get; set; }

Property Value

Color:

A Color object specifying the begin gradient color of a toolbar options button background.

ToolBarOptionsBackGradientEnd

Gets or sets the end gradient color of a toolbar options button background.

Color ToolBarOptionsBackGradientEnd { get; set; }

Property Value

Color:

A Color object specifying the end gradient color of a toolbar options button background.

ToolBarOptionsBackGradientMiddle

Gets or sets the middle gradient color of a toolbar options button background.

Color ToolBarOptionsBackGradientMiddle { get; set; }

Property Value

Color:

A Color object specifying the middle gradient color of a toolbar options button background.

ToolBarOptionsHotBackGradientBegin

Gets or sets the begin gradient color of a hot toolbar options button background.

Color ToolBarOptionsHotBackGradientBegin { get; set; }

Property Value

Color:

A Color object specifying the begin gradient color of a hot toolbar options button background.

ToolBarOptionsHotBackGradientEnd

Gets or sets the end gradient color of a hot toolbar options button background.

Color ToolBarOptionsHotBackGradientEnd { get; set; }

Property Value

Color:

A Color object specifying the end gradient color of a hot toolbar options button background.

ToolBarOptionsHotBackGradientMiddle

Gets or sets the middle gradient color of a hot toolbar options button background.

Color ToolBarOptionsHotBackGradientMiddle { get; set; }

Property Value

Color:

A Color object specifying the middle gradient color of a hot toolbar options button background.

ToolBarOptionsPressedBackGradientBegin

Gets or sets the begin gradient color of a pressed toolbar options button background.

Color ToolBarOptionsPressedBackGradientBegin { get; set; }

Property Value

Color:

A Color object specifying the begin gradient color of a pressed toolbar options button background.

ToolBarOptionsPressedBackGradientEnd

Gets or sets the end gradient color of a pressed toolbar options button background.

Color ToolBarOptionsPressedBackGradientEnd { get; set; }

Property Value

Color:

A Color object specifying the end gradient color of a pressed toolbar options button background.

ToolBarOptionsPressedBackGradientMiddle

Gets or sets the middle gradient color of a pressed toolbar options button background.

Color ToolBarOptionsPressedBackGradientMiddle { get; set; }

Property Value

Color:

A Color object specifying the middle gradient color of a pressed toolbar options button background.

ToolBarSeparatorDark

Gets or sets the dark color of a toolbar separator.

Color ToolBarSeparatorDark { get; set; }

Property Value

Color:

A Color object specifying the dark color of a toolbar separator.

ToolBarSeparatorLight

Gets or sets the light color of a toolbar separator.

Color ToolBarSeparatorLight { get; set; }

Property Value

Color:

A Color object specifying the light color of a toolbar separator.

ToolBarShadow

Gets or sets the color of a toolbar shadow.

Color ToolBarShadow { get; set; }

Property Value

Color:

A Color object specifying the color of a toolbar shadow.

Methods

GetKnownColor(KnownColor)

Gets a known color, optionally adjusted for the color scheme (e.g., dark schemes may adjust the color to be suited for a dark scheme).

Color GetKnownColor(KnownColor color)
Parameter Type Description
color KnownColor

The color.

Returns

Color:

A Color, optionally adjusted for the color scheme.

Initialize()

Initializes (or re-initializes) all the colors in the color scheme.

void Initialize()