__GRADIENTTYPE Enumeration
Specifies different types of gradients that can be used as backgrounds in VSPackages.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Public Enumeration __GRADIENTTYPE
public enum __GRADIENTTYPE
public enum class __GRADIENTTYPE
type __GRADIENTTYPE
public enum __GRADIENTTYPE
Members
Member name | Description | |
---|---|---|
VSGRADIENT_FILETAB | File Tab. Typically a vertical gradient with a light gray at the top and a medium gray at the bottom. Usually is the active tab on the Solution Explorer. | |
VSGRADIENT_PANEL_BACKGROUND | Panel Background. Typically a horizontal gradient with light gray at the left and a medium gray at the right. Usually is the background of the Visual Basic error list window. | |
VSGRADIENT_SHELLBACKGROUND | Shell background. Typically a horizontal gradient of light gray at the left to a slightly lighter gray at the right. Usually is the background of the tabs on a docked window, the color of a splitter window frame, and the auto-hide space for the Toolbox and Server Explorer panels. | |
VSGRADIENT_TOOLBOX_HEADING | Toolbox Heading. Typically a single medium gray color with no actual gradient. Usually is the background of the Toolbox heading. | |
VSGRADIENT_TOOLTAB | Tool tab. Typically a vertical gradient with a medium gray at the top and a light gray at the bottom. Usually is the background of any tab that is not selected. | |
VSGRADIENT_TOOLWIN_ACTIVE_TITLE_BAR | Tool window active title bar. Typically a vertical gradient with a light blue at the top and a medium blue at the bottom. Usually is the background of an active tool window title bar. | |
VSGRADIENT_TOOLWIN_BACKGROUND | Tool window default background. Typically a horizontal gradient with a light gray at the left and a medium gray at the right. Usually is the background of the Toolbox. | |
VSGRADIENT_TOOLWIN_INACTIVE_TITLE_BAR | Tool window inactive title bar. Typically a solid medium gray with no gradient. Typically seen as the background of a tool window when it is docked and does not currently have focus (undocked tool windows use standard Windows title bar colors). |
Remarks
COM Signature
typedef enum __tagGRADIENTTYPE {
VSGRADIENT_FILETAB = 1,
VSGRADIENT_PANEL_BACKGROUND = 2,
VSGRADIENT_SHELLBACKGROUND = 3,
VSGRADIENT_TOOLBOX_HEADING = 4,
VSGRADIENT_TOOLTAB = 5,
VSGRADIENT_TOOLWIN_ACTIVE_TITLE_BAR = 6,
VSGRADIENT_TOOLWIN_INACTIVE_TITLE_BAR = 7,
VSGRADIENT_TOOLWIN_BACKGROUND = 8
} __GRADIENTTYPE;
typedef DWORD GRADIENTTYPE;
These values are passed to the CreateGradient method in the IVsUIShell2 interface.