Export (0) Print
Expand All
Expand Minimize

COLORINDEX Enumeration

Specifies the default foreground, background, or line color.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

public enum COLORINDEX

Member nameDescription
CI_AQUAMARINEAquamarine.
CI_BLACKBlack.
CI_BLUEBlue.
CI_BROWNBrown.
CI_CYANCyan.
CI_DARKBLUEDark blue.
CI_DARKGRAYDark gray.
CI_DARKGREENDark green.
CI_FIRSTFIXEDCOLORThe first fixed color. Beginning of fixed color range.
CI_FORBIDCUSTOMIZATIONForbid customization.
CI_GREENGreen.
CI_LASTFIXEDCOLORThe last fixed color. End of fixed color range.
CI_LIGHTGRAYLight gray.
CI_MAGENTAMagenta.
CI_MAROONMaroon.
CI_PALETTESIZEThe palette size.
CI_PURPLEPurple.
CI_REDRed.
CI_SYSINACTSEL_BKThe background for inactive selection.
CI_SYSINACTSEL_FGThe foreground for inactive selection.
CI_SYSPLAINTEXT_BKThe background for plain text.
CI_SYSPLAINTEXT_FGThe foreground for plain text.
CI_SYSSEL_BKThe background for selected text.
CI_SYSSEL_FGThe foreground for selected text.
CI_SYSTEXT_BKObsolete. Use USERTEXT_BK instead.
CI_SYSTEXT_FGObsolete. Use CI_USERTEXT_FG instead.
CI_SYSWIDGETMGN_BKThe background for widget margin.
CI_USERTEXT_BKThe background color for user text.
CI_USERTEXT_FGThe foreground color for user text.
CI_WHITEWhite.
CI_YELLOWYellow.

For information on coloring text managed by the core editor, see Syntax Coloring.

For information on using the font and color mechanism for coloring text, see Getting Font and Color Information for Text Colorization.

COM Signature

From textmgr.idl:

Show:
© 2015 Microsoft