Freigeben über


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_AQUAMARINE Aquamarine.
CI_BLACK Black.
CI_BLUE Blue.
CI_BROWN Brown.
CI_CYAN Cyan.
CI_DARKBLUE Dark blue.
CI_DARKGRAY Dark gray.
CI_DARKGREEN Dark green.
CI_FIRSTFIXEDCOLOR The first fixed color. Beginning of fixed color range.
CI_FORBIDCUSTOMIZATION Forbid customization.
CI_GREEN Green.
CI_LASTFIXEDCOLOR The last fixed color. End of fixed color range.
CI_LIGHTGRAY Light gray.
CI_MAGENTA Magenta.
CI_MAROON Maroon.
CI_PALETTESIZE The palette size.
CI_PURPLE Purple.
CI_RED Red.
CI_SYSINACTSEL_BK The background for inactive selection.
CI_SYSINACTSEL_FG The foreground for inactive selection.
CI_SYSPLAINTEXT_BK The background for plain text.
CI_SYSPLAINTEXT_FG The foreground for plain text.
CI_SYSSEL_BK The background for selected text.
CI_SYSSEL_FG The foreground for selected text.
CI_SYSTEXT_BK Obsolete. Use USERTEXT_BK instead.
CI_SYSTEXT_FG Obsolete. Use CI_USERTEXT_FG instead.
CI_SYSWIDGETMGN_BK The background for widget margin.
CI_USERTEXT_BK The background color for user text.
CI_USERTEXT_FG The foreground color for user text.
CI_WHITE White.
CI_YELLOW Yellow.

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

Other Resources

Syntax Coloring

Getting Font and Color Information for Text Colorization