ColorProperty Enumeration
.NET Framework 2.0
Note: This enumeration is new in the .NET Framework version 2.0.
Identifies the color properties of a visual style element.
Namespace: System.Windows.Forms.VisualStyles
Assembly: System.Windows.Forms (in system.windows.forms.dll)
Assembly: System.Windows.Forms (in system.windows.forms.dll)
| Member name | Description | |
|---|---|---|
| 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.
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Community Additions
ADD
Show: