|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in microsoft.visualstudio.shell.interop.8.0.dll)
|CT_AUTOMATIC||The color tracks the Visual Studio session's automatic color.|
|CT_COLORINDEX||The color value is a member of the enumeration.|
|CT_INVALID||Color value is invalid.|
|CT_RAW||The color value is a standard 32 bit RGB color value.|
|CT_SYSCOLOR||The color value is one used with.|
|CT_TRACK_BACKGROUND||The color tracks the Windows session's background color.|
|CT_TRACK_FOREGROUND||The color tracks the Windows session's foreground color.|
|CT_VSCOLOR||The color value is a member of the __VSSYSCOLOREX enumeration and can be used with GetVSSysColorEx.|
The Visual StudioFont and Color mechanism supports several of the differing Windows techniques for expressing colors which are used in, , and by member methods of the interface
Color data may be:
A 32 bit RGB value with the hexadecimal format 0x00bbggrr.
One of the indexes used with utility methods such asand . or as a member of an enumeration such as and .
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.