Export (0) Print
Expand All
Expand Minimize

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

public enum __GRADIENTTYPE
public enum __GRADIENTTYPE
public enum __GRADIENTTYPE

 Member nameDescription
VSGRADIENT_FILETABFile 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_BACKGROUNDPanel 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_SHELLBACKGROUNDShell 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_HEADINGToolbox Heading. Typically a single medium gray color with no actual gradient. Usually is the background of the Toolbox heading. 
VSGRADIENT_TOOLTABTool 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_BARTool 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_BACKGROUNDTool 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_BARTool 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). 

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.

Community Additions

ADD
Show:
© 2014 Microsoft