__VSCOLORTYPE Enum

Definition

Contains the supported representation for a color values.

public enum class __VSCOLORTYPE
public enum class __VSCOLORTYPE
enum __VSCOLORTYPE
public enum __VSCOLORTYPE
type __VSCOLORTYPE = 
Public Enum __VSCOLORTYPE
Inheritance
__VSCOLORTYPE

Fields

CT_AUTOMATIC 5

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

CT_COLORINDEX 2

The color value is a member of the enumeration.

CT_INVALID 0

Color value is invalid.

CT_RAW 1

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

CT_SYSCOLOR 3

The color value is one used with GetSyscolor.

CT_TRACK_BACKGROUND 7

The color tracks the Windows session's background color.

CT_TRACK_FOREGROUND 6

The color tracks the Windows session's foreground color.

CT_VSCOLOR 4

The color value is a member of the __VSSYSCOLOREX enumeration and can be used with GetVSSysColorEx(Int32, UInt32).

Remarks

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.

Applies to