Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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)

'Declaration
Public Enumeration ColorProperty
'Usage
Dim instance As ColorProperty

public enum ColorProperty
public enum ColorProperty
 Member nameDescription
AccentColorHintA recommended companion color for the accent color of the visual style. 
BorderColorThe border color of an element with a filled-border background. 
BorderColorHintA recommended companion color for the border color of the visual style. 
EdgeDarkShadowColorThe dark shadow color for edges. 
EdgeFillColorThe fill color for edges. 
EdgeHighlightColorThe highlight color for edges. 
EdgeLightColorThe light color for edges. 
EdgeShadowColorThe shadow color for edges. 
FillColorThe fill color of an element with a filled-border background. 
FillColorHintA recommended companion color for the fill color of the visual style. 
GlowColorThe glow color. 
GlyphTextColorThe color that a font-based glyph is drawn with. 
GlyphTransparentColorThe color of pixels in a glyph that are treated as transparent. 
GradientColor1The first color in a gradient. 
GradientColor2The second color in a gradient. 
GradientColor3The third color in a gradient. 
GradientColor4The fourth color in a gradient. 
GradientColor5The fifth color in a gradient. 
ShadowColorThe color of the shadow. 
TextBorderColorThe color of the text border. 
TextColorThe text color. 
TextShadowColorThe color of the text shadow. 
TransparentColorThe 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 Server 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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.