ColorProperty Enumeration
Identifies the color properties of a visual style element.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
| Member name | Description | |
|---|---|---|
| BorderColor | The border color of an element with a filled-border background. | |
| FillColor | The fill color of an element with a filled-border background. | |
| TextColor | The text color. | |
| EdgeLightColor | The light color for edges. | |
| EdgeHighlightColor | The highlight color for edges. | |
| EdgeShadowColor | The shadow color for edges. | |
| EdgeDarkShadowColor | The dark shadow color for edges. | |
| EdgeFillColor | The fill color for edges. | |
| TransparentColor | The color of pixels 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. | |
| GlowColor | The glow color. | |
| TextBorderColor | The color of the text border. | |
| TextShadowColor | The color of the text shadow. | |
| GlyphTextColor | The color that a font-based glyph is drawn with. | |
| GlyphTransparentColor | The color of pixels in a glyph that are treated as transparent. | |
| FillColorHint | A recommended companion color for the fill color of the visual style. | |
| BorderColorHint | A recommended companion color for the border color of the visual style. | |
| AccentColorHint | A recommended companion color for the accent color of the visual style. |
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.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.