EnumProperty Enumeration
Identifies the enumerated type properties of a visual style element.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
| Member name | Description | |
|---|---|---|
| BackgroundType | One of the System.Windows.Forms.VisualStyles.BackgroundType values that specifies how the element's background is drawn. | |
| BorderType | One of the System.Windows.Forms.VisualStyles.BorderType values that specifies the border type for elements with a filled-border background. | |
| FillType | One of the System.Windows.Forms.VisualStyles.FillType values that specifies the fill type for elements with a filled-border background. | |
| SizingType | One of the System.Windows.Forms.VisualStyles.SizingType values that specifies how elements with a bitmap background will adjust to fill the bounds. | |
| HorizontalAlignment | One of the System.Windows.Forms.VisualStyles.HorizontalAlign values that specifies the horizontal alignment for elements with a fixed size. | |
| ContentAlignment | One of the System.Windows.Forms.VisualStyles.ContentAlignment values that specifies how text is aligned in a window caption. | |
| VerticalAlignment | One of the System.Windows.Forms.VisualStyles.VerticalAlignment values that specifies the vertical alignment for elements with a fixed size. | |
| OffsetType | One of the System.Windows.Forms.VisualStyles.OffsetType values that specifies where an offset is applied to a window element. | |
| IconEffect | One of the System.Windows.Forms.VisualStyles.IconEffect values that specifies the effect that the visual style will apply to an icon. | |
| TextShadowType | One of the System.Windows.Forms.VisualStyles.TextShadowType values that specifies the type of shadow to add to text. | |
| ImageLayout | One of the System.Windows.Forms.VisualStyles.ImageOrientation values that specifies how multiple images are arranged in a single image file. | |
| GlyphType | One of the System.Windows.Forms.VisualStyles.GlyphType values that specifies the type of glyph for elements with a bitmap background. | |
| ImageSelectType | One of the System.Windows.Forms.VisualStyles.ImageSelectType values that specifies when the visual style selects a different multiple-image file to draw an element. | |
| GlyphFontSizingType | One of the System.Windows.Forms.VisualStyles.GlyphFontSizingType values that specifies when the visual style selects a different glyph font size. | |
| TrueSizeScalingType | One of the System.Windows.Forms.VisualStyles.TrueSizeScalingType values that specifies when the visual style rescales an element with a fixed size. |
The EnumProperty enumeration represents a set of enumerated properties that describe visual style elements. The EnumProperty values are used as an argument in the VisualStyleRenderer.GetEnumValue 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.