__VSCOLORTYPE Enumeration


Contains the supported representation for a color values.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

public enum __VSCOLORTYPE

Member nameDescription

The color tracks the Visual Studio session's automatic color.


The color value is a member of the enumeration.


Color value is invalid.


The color value is a standard 32 bit RGB color value.


The color value is one used with GetSyscolor.


The color tracks the Windows session's background color.


The color tracks the Windows session's foreground color.


The color value is a member of the __VSSYSCOLOREX enumeration and can be used with GetVSSysColorEx.

The Visual Studio Font and Color mechanism supports several of the differing Windows techniques for expressing colors which are used in AllColorableItemInfo, ColorableItem, FontInfo and by member methods of the IVsFontAndColorUtilitiesinterface

Color data may be:

  • A 32 bit RGB value with the hexadecimal format 0x00bbggrr.

  • One of the indexes used with utility methods such as GetSyscolor and GetVSSysColorEx. or as a member of an enumeration such as COLORINDEX and __VSSYSCOLOREX.

  • The color values are the same as that of another GUI component -- referred to as a tracking value. The actual color value changes as the tracked color object changes.

Return to top