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)
Syntax
'Declaration
Public Enumeration COLORINDEX
public enum COLORINDEX
public enum class COLORINDEX
type COLORINDEX
public enum COLORINDEX
Members
Member name | Description | |
---|---|---|
CI_USERTEXT_FG | The foreground color for user text. | |
CI_USERTEXT_BK | The background color for user text. | |
CI_FIRSTFIXEDCOLOR | The first fixed color. Beginning of fixed color range. | |
CI_BLACK | Black. | |
CI_WHITE | White. | |
CI_MAROON | Maroon. | |
CI_DARKGREEN | Dark green. | |
CI_BROWN | Brown. | |
CI_DARKBLUE | Dark blue. | |
CI_PURPLE | Purple. | |
CI_AQUAMARINE | Aquamarine. | |
CI_LIGHTGRAY | Light gray. | |
CI_DARKGRAY | Dark gray. | |
CI_RED | Red. | |
CI_GREEN | Green. | |
CI_YELLOW | Yellow. | |
CI_BLUE | Blue. | |
CI_MAGENTA | Magenta. | |
CI_CYAN | Cyan. | |
CI_LASTFIXEDCOLOR | The last fixed color. End of fixed color range. | |
CI_SYSSEL_FG | The foreground for selected text. | |
CI_SYSSEL_BK | The background for selected text. | |
CI_SYSINACTSEL_FG | The foreground for inactive selection. | |
CI_SYSINACTSEL_BK | The background for inactive selection. | |
CI_SYSWIDGETMGN_BK | The background for widget margin. | |
CI_SYSPLAINTEXT_FG | The foreground for plain text. | |
CI_SYSPLAINTEXT_BK | The background for plain text. | |
CI_PALETTESIZE | The palette size. | |
CI_FORBIDCUSTOMIZATION | Forbid customization. | |
CI_SYSTEXT_FG | Obsolete. Use CI_USERTEXT_FG instead. | |
CI_SYSTEXT_BK | Obsolete. Use USERTEXT_BK instead. |
Remarks
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:
See Also
Reference
Microsoft.VisualStudio.TextManager.Interop Namespace