COLORINDEX Enumeration

Specifies 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
public enum COLORINDEX
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_FIRSTFIXEDCOLORFirst fixed color. Beginning of fixed color range. 
CI_FORBIDCUSTOMIZATIONForbid customization. 
CI_GREENGreen. 
CI_LASTFIXEDCOLORLast fixed color. End of fixed color range. 
CI_LIGHTGRAYLight gray. 
CI_MAGENTAMagenta. 
CI_MAROONMaroon. 
CI_PALETTESIZEPalette size. 
CI_PURPLEPurple. 
CI_REDRed. 
CI_SYSINACTSEL_BKBackground for inactive selection. 
CI_SYSINACTSEL_FGForeground for inactive selection. 
CI_SYSPLAINTEXT_BKBackground for plain text. 
CI_SYSPLAINTEXT_FGForeground for plain text. 
CI_SYSSEL_BKBackground for selected text. 
CI_SYSSEL_FGForeground for selected text. 
CI_SYSTEXT_BKObsolete. Use USERTEXT_BK instead. 
CI_SYSTEXT_FGObsolete. Use CI_USERTEXT_FG instead. 
CI_SYSWIDGETMGN_BKBackground for widget margin. 
CI_USERTEXT_BKBackground color for user text. 
CI_USERTEXT_FGForeground color for user text. 
CI_WHITEWhite. 
CI_YELLOWYellow. 

For information on colorizing text managed by the core editor, see Providing a Syntax Coloring Service.

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

COM Signature

From textmgr.idl:

Community Additions

ADD
Show: