System.Windows.Forms.VisualStyles.ColorProperty Enumeration

Identifies the color properties of a visual style element.

Syntax

public enum ColorProperty

Remarks

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

Members

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.

Requirements

Namespace: System.Windows.Forms.VisualStyles
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0