VSColorTheme 类

Helper to get colors from the current Visual Studio theme and provide notifications when the theme or colors change.

继承层次结构

System.Object
  Microsoft.VisualStudio.PlatformUI.VSColorTheme

命名空间:  Microsoft.VisualStudio.PlatformUI
程序集:  Microsoft.VisualStudio.Shell.11.0(在 Microsoft.VisualStudio.Shell.11.0.dll 中)

语法

声明
Public NotInheritable Class VSColorTheme
public static class VSColorTheme

VSColorTheme 类型公开以下成员。

方法

  名称 说明
公共方法静态成员 GetThemedColor Gets the color of the specified resource key.

页首

事件

  名称 说明
公共事件静态成员 ThemeChanged Raised when Visual Studio theme color changes.

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参见

参考

Microsoft.VisualStudio.PlatformUI 命名空间