Condividi tramite


__GRADIENTTYPE Enum

Definition

Specifies different types of gradients that can be used as backgrounds in VSPackages.

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

Fields

Name Value Description
VSGRADIENT_FILETAB 1

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 2

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 3

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 4

Toolbox Heading. Typically a single medium gray color with no actual gradient. Usually is the background of the Toolbox heading.

VSGRADIENT_TOOLTAB 5

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 6

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_INACTIVE_TITLE_BAR 7

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

VSGRADIENT_TOOLWIN_BACKGROUND 8

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.

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.

Applies to