ColorProperty Enumeration
TOC
Collapse the table of content
Expand the table of content

ColorProperty Enumeration

 

Identifies the color properties of a visual style element.

Namespace:   System.Windows.Forms.VisualStyles
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public enum ColorProperty

Member nameDescription
AccentColorHint

A recommended companion color for the accent color of the visual style.

BorderColor

The border color of an element with a filled-border background.

BorderColorHint

A recommended companion color for the border color of the visual style.

EdgeDarkShadowColor

The dark shadow color for edges.

EdgeFillColor

The fill color for edges.

EdgeHighlightColor

The highlight color for edges.

EdgeLightColor

The light color for edges.

EdgeShadowColor

The shadow color for edges.

FillColor

The fill color of an element with a filled-border background.

FillColorHint

A recommended companion color for the fill color of the visual style.

GlowColor

The glow color.

GlyphTextColor

The color that a font-based glyph is drawn with.

GlyphTransparentColor

The color of pixels in a glyph that are treated as transparent.

GradientColor1

The first color in a gradient.

GradientColor2

The second color in a gradient.

GradientColor3

The third color in a gradient.

GradientColor4

The fourth color in a gradient.

GradientColor5

The fifth color in a gradient.

ShadowColor

The color of the shadow.

TextBorderColor

The color of the text border.

TextColor

The text color.

TextShadowColor

The color of the text shadow.

TransparentColor

The color of pixels that are treated as transparent.

The ColorProperty enumeration represents a set of color properties that describe visual style elements. The ColorProperty values are used as an argument in the VisualStyleRenderer.GetColor method to specify which property value to retrieve for the element that the VisualStyleRenderer currently represents.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft