AllColorableItemInfo Structure

Use to specify all the attributes of Display Items to the Visual Studio environment.

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

public struct AllColorableItemInfo

The AllColorableItemInfo type exposes the following members.

  NameDescription
Public methodEqualsIndicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Public methodGetHashCodeReturns the hash code for this instance. (Inherited from ValueType.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns the fully qualified type name of this instance. (Inherited from ValueType.)
Top

  NameDescription
Public fieldbAutoBackgroundValidIndicates whether crAutoBackground contains a valid color value.
Public fieldbAutoForegroundValidIndicates whether crAutoForeground contains a valid color value.
Public fieldbDescriptionValidIndicates the bstrDescription contains a valid description string
Public fieldbFlagsValidIndicates whether fFlags contains valid font flags from __FCITEMFLAGS.
Public fieldbLineStyleValidIndicates whether eLineStyle contains a valid line style.
Public fieldbLocalizedNameValidIndicates whether bstrLocalizedName contains a valid localized name string.
Public fieldbMarkerVisualStyleValidIndicates whether dwMarkerVisualStyle contains a valid marker style.
Public fieldbNameValidIndicates whether bstrName contains a valid (non-localized) name string.
Public fieldbstrDescriptionString that contains a brief description of the item displayed as a ToolTip. (This feature is currently disabled).
Public fieldbstrLocalizedNameString that contains the localized name of the item displayed to the user.
Public fieldbstrNameString that contains the non-localized name of the item used internally by the VSPackage to compare and merge.
Public fieldcrAutoBackgroundSpecifies the automatic background color for an item.
Public fieldcrAutoForegroundSpecifies the automatic foreground color for an item.
Public fielddwMarkerVisualStyleSpecifies the visual style of the marker
Public fieldeLineStyleSpecifies the line style for marker items.
Public fieldfFlagsSpecifies attributes of an item.
Public fieldInfoSpecifies the foreground color, background color, and font flags from the ColorableItemInfo structure.
Top

Stored information returned in a AllColorableItemInfo structure may beinvalid because the IDE (integrated development environment) does not always store settings unmodified by an end-user's use of the Font and Color property page in the registry.

An instance of the AllColorableItemInfo structure can contain any of the color representations enumerated in __VSCOLORTYPE.

Use the member methods of the IVsFontAndColorUtilities class to examine and manipulate color and font information in an instance of AllColorableItemInfo.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft