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)
Syntax
'Declaration
Public Structure AllColorableItemInfo
public struct AllColorableItemInfo
public value class AllColorableItemInfo
[<Sealed>]
type AllColorableItemInfo = struct end
JScript supports the use of structures, but not the declaration of new ones.
The AllColorableItemInfo type exposes the following members.
Methods
Name | Description | |
---|---|---|
Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) | |
GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Top
Fields
Name | Description | |
---|---|---|
bAutoBackgroundValid | Indicates whether crAutoBackground contains a valid color value. | |
bAutoForegroundValid | Indicates whether crAutoForeground contains a valid color value. | |
bDescriptionValid | Indicates the bstrDescription contains a valid description string | |
bFlagsValid | Indicates whether fFlags contains valid font flags from __FCITEMFLAGS. | |
bLineStyleValid | Indicates whether eLineStyle contains a valid line style. | |
bLocalizedNameValid | Indicates whether bstrLocalizedName contains a valid localized name string. | |
bMarkerVisualStyleValid | Indicates whether dwMarkerVisualStyle contains a valid marker style. | |
bNameValid | Indicates whether bstrName contains a valid (non-localized) name string. | |
bstrDescription | String that contains a brief description of the item displayed as a ToolTip. (This feature is currently disabled). | |
bstrLocalizedName | String that contains the localized name of the item displayed to the user. | |
bstrName | String that contains the non-localized name of the item used internally by the VSPackage to compare and merge. | |
crAutoBackground | Specifies the automatic background color for an item. | |
crAutoForeground | Specifies the automatic foreground color for an item. | |
dwMarkerVisualStyle | Specifies the visual style of the marker | |
eLineStyle | Specifies the line style for marker items. | |
fFlags | Specifies attributes of an item. | |
Info | Specifies the foreground color, background color, and font flags from the ColorableItemInfo structure. |
Top
Remarks
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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.