共用方式為


__VSSYSCOLOREX Enum

Definition

Specifies a Visual Studio system color to be used with a particular visual component or use case.

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

Fields

VSCOLOR_ACCENT_BORDER -5

Accent border

VSCOLOR_ACCENT_DARK -6

Accent dark

VSCOLOR_ACCENT_LIGHT -7

Accent light

VSCOLOR_ACCENT_MEDIUM -8

Accent medium

VSCOLOR_ACCENT_PALE -9

Accent pale

VSCOLOR_COMMANDBAR_BORDER -10

Command bar border

VSCOLOR_COMMANDBAR_DRAGHANDLE -11

Command bar drag handle

VSCOLOR_COMMANDBAR_DRAGHANDLE_SHADOW -12

Command bar drag handle shadow

VSCOLOR_COMMANDBAR_GRADIENT_BEGIN -13

Command bar gradient begin

VSCOLOR_COMMANDBAR_GRADIENT_END -14

Command bar gradient end

VSCOLOR_COMMANDBAR_GRADIENT_MIDDLE -15

Command bar gradient middle

VSCOLOR_COMMANDBAR_HOVER -16

Hover over command bar

VSCOLOR_COMMANDBAR_HOVEROVERSELECTED -17

Hover over selected command bar

VSCOLOR_COMMANDBAR_HOVEROVERSELECTEDICON -18

Hover over selected command bar icon

VSCOLOR_COMMANDBAR_HOVEROVERSELECTEDICON_BORDER -19

Command bar hover over selected icon border

VSCOLOR_COMMANDBAR_SELECTED -20

Selected command bar

VSCOLOR_COMMANDBAR_SHADOW -21

Command bar shadow

VSCOLOR_COMMANDBAR_TEXT_ACTIVE -22

Active command bar text

VSCOLOR_COMMANDBAR_TEXT_HOVER -23

Command bar text hover

VSCOLOR_COMMANDBAR_TEXT_INACTIVE -24

Inactive command bar text

VSCOLOR_COMMANDBAR_TEXT_SELECTED -25

Command bar text selected

VSCOLOR_CONTROL_EDIT_HINTTEXT -26

Control edit hint text

VSCOLOR_CONTROL_EDIT_REQUIRED_BACKGROUND -27

Control edit required field background

VSCOLOR_CONTROL_EDIT_REQUIRED_HINTTEXT -28

Control edit required field hint text

-29

Control link text

-30

Control link hover

-31

Control pressed text

VSCOLOR_CONTROL_OUTLINE -32

Control outline

VSCOLOR_DEBUGGER_DATATIP_ACTIVE_BACKGROUND -33

Debugger: active data tip background

VSCOLOR_DEBUGGER_DATATIP_ACTIVE_BORDER -34

Debugger: active data tip border

VSCOLOR_DEBUGGER_DATATIP_ACTIVE_HIGHLIGHT -35

Debugger: active data tip highlight

VSCOLOR_DEBUGGER_DATATIP_ACTIVE_HIGHLIGHTTEXT -36

Debugger: active data tip highlight text

VSCOLOR_DEBUGGER_DATATIP_ACTIVE_SEPARATOR -37

Debugger: active data tip separator

VSCOLOR_DEBUGGER_DATATIP_ACTIVE_TEXT -38

Debugger: active data tip text

VSCOLOR_DEBUGGER_DATATIP_INACTIVE_BACKGROUND -39

Debugger: inactive data tip background

VSCOLOR_DEBUGGER_DATATIP_INACTIVE_BORDER -40

Debugger: inactive data tip border

VSCOLOR_DEBUGGER_DATATIP_INACTIVE_HIGHLIGHT -41

Debugger: inactive data tip highlight

VSCOLOR_DEBUGGER_DATATIP_INACTIVE_HIGHLIGHTTEXT -42

Debugger: inactive data tip highlight text

VSCOLOR_DEBUGGER_DATATIP_INACTIVE_SEPARATOR -43

Debugger: inactive data tip separator

VSCOLOR_DEBUGGER_DATATIP_INACTIVE_TEXT -44

Debugger: inactive data tip text

VSCOLOR_DESIGNER_BACKGROUND -45

Designer background

VSCOLOR_DESIGNER_SELECTIONDOTS -46

Designer selection dots

VSCOLOR_DESIGNER_TRAY -47

Designer tray

VSCOLOR_DESIGNER_WATERMARK -48

Designer watermark

VSCOLOR_EDITOR_EXPANSION_BORDER -49

Editor expansion border

VSCOLOR_EDITOR_EXPANSION_FILL -50

Editor expansion fill

-51

Editor expansion link

VSCOLOR_EDITOR_EXPANSION_TEXT -52

Editor expansion text

VSCOLOR_ENVIRONMENT_BACKGROUND -53

Environment background

VSCOLOR_ENVIRONMENT_BACKGROUND_GRADIENTBEGIN -54

Environment gradient begin

VSCOLOR_ENVIRONMENT_BACKGROUND_GRADIENTEND -55

Environment gradient end

VSCOLOR_FILETAB_BORDER -56

File tab border

VSCOLOR_FILETAB_CHANNELBACKGROUND -57

File tab channel background

VSCOLOR_FILETAB_GRADIENTDARK -58

File tab dark gradient

VSCOLOR_FILETAB_GRADIENTLIGHT -59

File tab light gradient

VSCOLOR_FILETAB_SELECTEDBACKGROUND -60

File tab selected background

VSCOLOR_FILETAB_SELECTEDBORDER -61

File tab selected border

VSCOLOR_FILETAB_SELECTEDTEXT -62

File tab selected text

VSCOLOR_FILETAB_TEXT -63

File tab text

VSCOLOR_FORMSMARTTAG_ACTIONTAG_BORDER -64

Form smart tag action tag border

VSCOLOR_FORMSMARTTAG_ACTIONTAG_FILL -65

Form smart tag action tag fill

VSCOLOR_FORMSMARTTAG_OBJECTTAG_BORDER -66

Form smart tag object tag border

VSCOLOR_FORMSMARTTAG_OBJECTTAG_FILL -67

Form smart tag object tag fill

VSCOLOR_GRID_HEADING_BACKGROUND -68

Grid heading background

VSCOLOR_GRID_HEADING_TEXT -69

Grid heading text

VSCOLOR_GRID_LINE -70

Grid line

VSCOLOR_HELP_HOWDOI_PANE_BACKGROUND -71

Help HowDoI pane background

-72

Help HowDoI pane link

VSCOLOR_HELP_HOWDOI_PANE_TEXT -73

Help HowDoI pane text

VSCOLOR_HELP_HOWDOI_TASK_BACKGROUND -74

Help HowDoI task background

-75

Help HowDoI task link

VSCOLOR_HELP_HOWDOI_TASK_TEXT -76

Help HowDoI task text

VSCOLOR_HELP_SEARCH_BACKGROUND -92

Help search background

VSCOLOR_HELP_SEARCH_BORDER -79

Help search border

VSCOLOR_HELP_SEARCH_FITLER_BACKGROUND -81

Help search filter background

VSCOLOR_HELP_SEARCH_FITLER_BORDER -82

Help search filter border

VSCOLOR_HELP_SEARCH_FITLER_TEXT -80

Help search filter text

VSCOLOR_HELP_SEARCH_FRAME_BACKGROUND -77

Help search frame background

VSCOLOR_HELP_SEARCH_FRAME_TEXT -78

Help search frame text

VSCOLOR_HELP_SEARCH_PANEL_RULES -94

Help search panel rules

VSCOLOR_HELP_SEARCH_PROVIDER_ICON -87

Help search provider icon

VSCOLOR_HELP_SEARCH_PROVIDER_SELECTED_BACKGROUND -85

Help search provider selected background

VSCOLOR_HELP_SEARCH_PROVIDER_SELECTED_TEXT -86

Help search provider selected text

VSCOLOR_HELP_SEARCH_PROVIDER_UNSELECTED_BACKGROUND -83

Help search provider unselected background

VSCOLOR_HELP_SEARCH_PROVIDER_UNSELECTED_TEXT -84

Help search provider unselected text

-88

Help search result link selected

-89

Help search result link unselected

VSCOLOR_HELP_SEARCH_RESULT_SELECTED_BACKGROUND -90

Help search result selected background

VSCOLOR_HELP_SEARCH_RESULT_SELECTED_TEXT -91

Help search result selected text

VSCOLOR_HELP_SEARCH_TEXT -93

Help search text

VSCOLOR_LASTEX -178

Lastex

VSCOLOR_MDICLIENT_BORDER -95

MDI client border

VSCOLOR_PANEL_BORDER -96

Panel border

VSCOLOR_PANEL_GRADIENTDARK -97

Panel gradient dark

VSCOLOR_PANEL_GRADIENTLIGHT -98

Panel gradient light

VSCOLOR_PANEL_HOVEROVERCLOSE_BORDER -99

Panel hover over close border

VSCOLOR_PANEL_HOVEROVERCLOSE_FILL -100

Panel hover over close fill

-101

Panel hyperlink

-102

Panel hyperlink hover

-103

Panel hyperlink pressed

VSCOLOR_PANEL_SEPARATOR -104

Panel separator

VSCOLOR_PANEL_SUBGROUPSEPARATOR -105

Panel subgroup separator

VSCOLOR_PANEL_TEXT -106

Panel text

VSCOLOR_PANEL_TITLEBAR -107

Panel title bar

VSCOLOR_PANEL_TITLEBAR_TEXT -108

Panel title bar text

VSCOLOR_PANEL_TITLEBAR_UNSELECTED -109

Panel title bar unselected

VSCOLOR_PROJECTDESIGNER_BACKGROUND_GRADIENTBEGIN -110

Project designer background gradient begin

VSCOLOR_PROJECTDESIGNER_BACKGROUND_GRADIENTEND -111

Project designer background gradient end

VSCOLOR_PROJECTDESIGNER_BORDER_INSIDE -113

Project designer border inside

VSCOLOR_PROJECTDESIGNER_BORDER_OUTSIDE -112

Project designer border outside

VSCOLOR_PROJECTDESIGNER_CONTENTS_BACKGROUND -114

Project designer contents background

VSCOLOR_PROJECTDESIGNER_TAB_BACKGROUND_GRADIENTBEGIN -115

Project designer tab background gradient begin

VSCOLOR_PROJECTDESIGNER_TAB_BACKGROUND_GRADIENTEND -116

Project designer tab background gradient end

VSCOLOR_PROJECTDESIGNER_TAB_SELECTED_BACKGROUND -121

Project designer tab selected background

VSCOLOR_PROJECTDESIGNER_TAB_SELECTED_BORDER -118

Project designer tab selected border

VSCOLOR_PROJECTDESIGNER_TAB_SELECTED_HIGHLIGHT1 -119

Project designer tab selected highlight1

VSCOLOR_PROJECTDESIGNER_TAB_SELECTED_HIGHLIGHT2 -120

Project designer tab selected highlight2

VSCOLOR_PROJECTDESIGNER_TAB_SELECTED_INSIDEBORDER -117

Project designer tab selected inside border

VSCOLOR_PROJECTDESIGNER_TAB_SEP_BOTTOM_GRADIENTBEGIN -122

Project designer tab separator bottom gradient begin

VSCOLOR_PROJECTDESIGNER_TAB_SEP_BOTTOM_GRADIENTEND -123

Project designer tab separator bottom gradient end

VSCOLOR_PROJECTDESIGNER_TAB_SEP_TOP_GRADIENTBEGIN -124

Project designer tab separator top gradient begin

VSCOLOR_PROJECTDESIGNER_TAB_SEP_TOP_GRADIENTEND -125

Project designer tab separator top gradient end

VSCOLOR_SCREENTIP_BACKGROUND -127

Screentip background

VSCOLOR_SCREENTIP_BORDER -126

Screentip border

VSCOLOR_SCREENTIP_TEXT -128

Screentip text

VSCOLOR_SIDEBAR_BACKGROUND -129

Sidebar background

VSCOLOR_SIDEBAR_GRADIENTDARK -130

Sidebar gradient dark

VSCOLOR_SIDEBAR_GRADIENTLIGHT -131

Sidebar gradient light

VSCOLOR_SIDEBAR_TEXT -132

Sidebar text

VSCOLOR_SMARTTAG_BORDER -133

Smart tag border

VSCOLOR_SMARTTAG_FILL -134

Smart tag fill

VSCOLOR_SMARTTAG_HOVER_BORDER -135

Smart tag hover border

VSCOLOR_SMARTTAG_HOVER_FILL -136

Smart tag hover fill

VSCOLOR_SMARTTAG_HOVER_TEXT -137

Smart tag hover text

VSCOLOR_SMARTTAG_TEXT -138

Smart tag text

VSCOLOR_SNAPLINES -139

Snaplines

VSCOLOR_SNAPLINES_PADDING -140

Snaplines padding

VSCOLOR_SNAPLINES_TEXTBASELINE -141

Snaplines text baseline

VSCOLOR_SORT_BACKGROUND -142

Sort background

VSCOLOR_SORT_TEXT -143

Sort text

VSCOLOR_TASKLIST_GRIDLINES -144

Task list grid lines

VSCOLOR_TITLEBAR_ACTIVE -145

Title bar active

VSCOLOR_TITLEBAR_ACTIVE_GRADIENTBEGIN -146

Title bar active gradient begin

VSCOLOR_TITLEBAR_ACTIVE_GRADIENTEND -147

Title bar active gradient end

VSCOLOR_TITLEBAR_ACTIVE_TEXT -148

Title bar active text

VSCOLOR_TITLEBAR_INACTIVE -149

Title bar inactive

VSCOLOR_TITLEBAR_INACTIVE_GRADIENTBEGIN -150

Title bar inactive gradient begin

VSCOLOR_TITLEBAR_INACTIVE_GRADIENTEND -151

Title bar inactive gradient end

VSCOLOR_TITLEBAR_INACTIVE_TEXT -152

Title bar inactive text

VSCOLOR_TOOLBOX_BACKGROUND -153

Toolbox background

VSCOLOR_TOOLBOX_DIVIDER -154

Toolbox divider

VSCOLOR_TOOLBOX_GRADIENTDARK -155

Toolbox gradient dark

VSCOLOR_TOOLBOX_GRADIENTLIGHT -156

Toolbox gradient light

VSCOLOR_TOOLBOX_HEADINGACCENT -157

Toolbox heading accent

VSCOLOR_TOOLBOX_HEADINGBEGIN -158

Toolbox heading begin

VSCOLOR_TOOLBOX_HEADINGEND -159

Toolbox heading end

VSCOLOR_TOOLBOX_ICON_HIGHLIGHT -160

Toolbox icon highlight

VSCOLOR_TOOLBOX_ICON_SHADOW -161

Toolbox icon shadow

VSCOLOR_TOOLWINDOW_BACKGROUND -162

Tool window background

VSCOLOR_TOOLWINDOW_BORDER -163

Tool window border

VSCOLOR_TOOLWINDOW_BUTTON_DOWN -164

Tool window button down

VSCOLOR_TOOLWINDOW_BUTTON_DOWN_BORDER -165

Tool window button down border

VSCOLOR_TOOLWINDOW_BUTTON_HOVER_ACTIVE -166

Tool window button hover active

VSCOLOR_TOOLWINDOW_BUTTON_HOVER_ACTIVE_BORDER -167

Tool window button hover active border

VSCOLOR_TOOLWINDOW_BUTTON_HOVER_INACTIVE -168

Tool window button hover inactive

VSCOLOR_TOOLWINDOW_BUTTON_HOVER_INACTIVE_BORDER -169

Tool window button hover inactive border

VSCOLOR_TOOLWINDOW_TAB_BORDER -172

Tool window tab border

VSCOLOR_TOOLWINDOW_TAB_GRADIENTBEGIN -173

Tool window tab gradient begin

VSCOLOR_TOOLWINDOW_TAB_GRADIENTEND -174

Tool window tab gradient end

VSCOLOR_TOOLWINDOW_TAB_SELECTEDTAB -171

Tool window selected tab

VSCOLOR_TOOLWINDOW_TAB_SELECTEDTEXT -176

Tool window tab selected text

VSCOLOR_TOOLWINDOW_TAB_TEXT -175

Tool window tab text

VSCOLOR_TOOLWINDOW_TEXT -170

Tool window text

VSCOLOR_WIZARD_ORIENTATIONPANEL_BACKGROUND -177

Wizard orientation panel background

VSCOLOR_WIZARD_ORIENTATIONPANEL_TEXT -178

Wizard orientation panel text

Remarks

__VSSYSCOLOREX supersedes the deprecated VSSYSCOLOR enumeration.

Members of __VSSYSCOLOREX are used as arguments to GetVSSysColorEx to obtain the correct system color value for a given object.

For a full discussion of best practices for making color choices using VSSYSCOLOREX, see Visual Studio User Interface Design Guidelines.

Applies to