次の方法で共有


__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)

Syntax

'宣言
Public Enumeration __VSCOLORTYPE
'使用
Dim instance As __VSCOLORTYPE
public enum __VSCOLORTYPE
public enum class __VSCOLORTYPE
public enum __VSCOLORTYPE

Members

Member name Description
CT_INVALID Color value is invalid.
CT_RAW The color value is a standard 32 bit RGB color value.
CT_COLORINDEX The color value is a member of the enumeration.
CT_SYSCOLOR The color value is one used with GetSyscolor.
CT_VSCOLOR The color value is a member of the __VSSYSCOLOREX enumeration and can be used with GetVSSysColorEx.
CT_AUTOMATIC The color tracks the Visual Studio session's automatic color.
CT_TRACK_FOREGROUND The color tracks the Windows session's foreground color.
CT_TRACK_BACKGROUND The color tracks the Windows session's background color.

Remarks

The Visual StudioFont 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.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace