共用方式為


KnownColorThemes Class

Supplies predefined, well-known color themes.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.Shell.KnownColorThemes

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public NotInheritable Class KnownColorThemes
public static class KnownColorThemes
public ref class KnownColorThemes abstract sealed
[<AbstractClass>]
[<Sealed>]
type KnownColorThemes =  class end
public final class KnownColorThemes

The KnownColorThemes type exposes the following members.

Fields

  Name Description
Public fieldStatic member Blue
Public fieldStatic member Dark
Public fieldStatic member Debug The color theme used for debugging the theme color service. Each color name is mapped to a neon color to make it easy to inspect colors usage that is not from the theme color service.
Public fieldStatic member Default The color theme used by default on Visual Studio’s first launch. The theme is known to users by the friendly name (the “Light” theme).
Public fieldStatic member HighContrast The color theme used when the Windows theme is set to one of the high-contrast Windows themes.
Public fieldStatic member Light

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Shell Namespace