VSColorTheme Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |