Compartir a través de


VSColorTheme Class

Definition

Helper to get Colors from the current VS theme and provide notifications when the theme/colors change.

public ref class VSColorTheme abstract sealed
public ref class VSColorTheme abstract sealed
class VSColorTheme abstract sealed
public static class VSColorTheme
type VSColorTheme = class
Public Class VSColorTheme
Inheritance
VSColorTheme

Methods

GetThemedColor(ThemeResourceKey)

Gets a VS color value from the current theme. This function offers similar functionality to VsColors.GetThemedGDIColor, but caches the returned color value until the theme is changed for subsequent retrieval of the color with same themeResourceKey.

Events

ThemeChanged

Event that is raised when VS color change.

Applies to