In This Article

WindowsColorScheme Class

Provides a Windows color scheme.

public class WindowsColorScheme : DisposableObject, IDisposable, IWindowsColorScheme
Inheritance:
Object MarshalByRefObject DisposableObject Object
Implements:
System.IDisposable IWindowsColorScheme

Constructors

WindowsColorScheme(WindowsColorSchemeType)

Creates an instance of the WindowsColorScheme class.

protected WindowsColorScheme(WindowsColorSchemeType baseColorSchemeType)
Parameter Type Description
baseColorSchemeType WindowsColorSchemeType

The base WindowsColorSchemeType from which colors should be initialized.

WindowsColorScheme(String, WindowsColorSchemeType, Color)

Creates an instance of the WindowsColorScheme class.

public WindowsColorScheme(string key, WindowsColorSchemeType baseColorSchemeType, Color tintColor)
Parameter Type Description
key String

The key of the color scheme.

baseColorSchemeType WindowsColorSchemeType

The base WindowsColorSchemeType from which colors should be initialized.

tintColor Color

A Color that if is not Color.Empty will tint the color scheme to be based on the color.

Properties

BarButtonCheckedBack

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

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public 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.

public WindowsColorSchemeType ColorSchemeType { get; }

Property Value

WindowsColorSchemeType:

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

DefaultColorSchemeType

Gets a WindowsColorSchemeType that indicates the default color scheme.

public static WindowsColorSchemeType DefaultColorSchemeType { get; }

Property Value

WindowsColorSchemeType:

A WindowsColorSchemeType that indicates the default color scheme.

DockGuideArrowBack

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

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual WindowsColorSchemeIntent Intent { get; }

Property Value

WindowsColorSchemeIntent:

One of the WindowsColorSchemeType values.

Key

Gets the key that identifies the color scheme.

public string Key { get; }

Property Value

String:

The key that identifies the color scheme.

MenuBack

Gets or sets the background color of a menu.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual Color MenuIconColumnBackGradientMiddle { get; set; }

Property Value

Color:

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

MetroDark

Gets the IWindowsColorScheme that represents the Metro Dark color scheme.

public static IWindowsColorScheme MetroDark { get; }

Property Value

IWindowsColorScheme:

The IWindowsColorScheme that represents the Metro Dark color scheme.

MetroLight

Gets the IWindowsColorScheme that represents the Metro Light color scheme.

public static IWindowsColorScheme MetroLight { get; }

Property Value

IWindowsColorScheme:

The IWindowsColorScheme that represents the Metro Light color scheme.

NavigationBarGripperDark

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

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual Color NavigationPaneButtonPressedBackGradientMid2 { get; set; }

Property Value

Color:

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

Office2007Black

Gets the IWindowsColorScheme that represents the Office 2007 black color scheme.

public static IWindowsColorScheme Office2007Black { get; }

Property Value

IWindowsColorScheme:

The IWindowsColorScheme that represents the Office 2007 black color scheme.

Office2007Blue

Gets the IWindowsColorScheme that represents the Office 2007 blue color scheme.

public static IWindowsColorScheme Office2007Blue { get; }

Property Value

IWindowsColorScheme:

The IWindowsColorScheme that represents the Office 2007 blue color scheme.

Office2007Silver

Gets the IWindowsColorScheme that represents the Office 2007 silver color scheme.

public static IWindowsColorScheme Office2007Silver { get; }

Property Value

IWindowsColorScheme:

The IWindowsColorScheme that represents the Office 2007 silver color scheme.

StatusBarBack

Gets or sets the background color for a status bar.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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).

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual 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.

public virtual Color ToolBarShadow { get; set; }

Property Value

Color:

A Color object specifying the color of a toolbar shadow.

VisualStudio2005

Gets the IWindowsColorScheme that represents the Visual Studio 2005 color scheme.

public static IWindowsColorScheme VisualStudio2005 { get; }

Property Value

IWindowsColorScheme:

The IWindowsColorScheme that represents the Visual Studio 2005 color scheme.

WindowsClassic

Gets the IWindowsColorScheme that represents the Windows Classic color scheme.

public static IWindowsColorScheme WindowsClassic { get; }

Property Value

IWindowsColorScheme:

The IWindowsColorScheme that represents the Windows Classic color scheme.

WindowsDefault

Gets the IWindowsColorScheme that represents the default Windows color scheme.

public static IWindowsColorScheme WindowsDefault { get; }

Property Value

IWindowsColorScheme:

The IWindowsColorScheme that represents the default Windows color scheme.

WindowsXPBlue

Gets the IWindowsColorScheme that represents the Windows XP blue color scheme.

public static IWindowsColorScheme WindowsXPBlue { get; }

Property Value

IWindowsColorScheme:

The IWindowsColorScheme that represents the Windows XP blue color scheme.

WindowsXPOliveGreen

Gets the IWindowsColorScheme that represents the Windows XP olive green color scheme.

public static IWindowsColorScheme WindowsXPOliveGreen { get; }

Property Value

IWindowsColorScheme:

The IWindowsColorScheme that represents the Windows XP olive green color scheme.

WindowsXPRoyale

Gets the IWindowsColorScheme that represents the Windows XP royale color scheme.

public static IWindowsColorScheme WindowsXPRoyale { get; }

Property Value

IWindowsColorScheme:

The IWindowsColorScheme that represents the Windows XP royale color scheme.

WindowsXPSilver

Gets the IWindowsColorScheme that represents the Windows XP silver color scheme.

public static IWindowsColorScheme WindowsXPSilver { get; }

Property Value

IWindowsColorScheme:

The IWindowsColorScheme that represents the Windows XP silver color scheme.

Methods

Dispose(Boolean)

Releases the unmanaged resources used by the object and optionally releases the managed resources.

protected override void Dispose(bool disposing)
Parameter Type Description
disposing Boolean

true to release both managed and unmanaged resources; false to release only unmanaged resources.

Remarks

This method is called by the public Dispose method and the Finalize method. Dispose invokes this method with the disposing parameter set to true. Finalize invokes this method with disposing set to false.

GetColorScheme(WindowsColorSchemeType)

Gets the IWindowsColorScheme that represents the specified WindowsColorSchemeType.

public static IWindowsColorScheme GetColorScheme(WindowsColorSchemeType colorSchemeType)
Parameter Type Description
colorSchemeType WindowsColorSchemeType

The WindowsColorSchemeType to return.

Returns

IWindowsColorScheme:

The IWindowsColorScheme that represents the specified WindowsColorSchemeType.

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).

public virtual Color GetKnownColor(KnownColor color)
Parameter Type Description
color KnownColor

The color.

Returns

Color:

A Color, optionally adjusted for the color scheme.

Initialize()

Re-initializes all the colors.

public void Initialize()

UpdateColors()

Updates the colors.

protected virtual void UpdateColors()

Remarks

This method is called when the color scheme is first created and when system color preferences change.

Inherited Members