This topic has not yet been rated - Rate this topic

IntegerProperty Enumeration

Identifies the integer properties of a visual style element.

Namespace:  System.Windows.Forms.VisualStyles
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)
public enum IntegerProperty
Member name Description
ImageCount The number of state images in multiple-image file.
AlphaLevel The alpha value for an icon, between 0 and 255.
BorderSize The size of the border line for elements with a filled-border background.
RoundCornerWidth A percentage value that represents the width of a rounded corner, from 0 to 100.
RoundCornerHeight A percentage value that represents the height of a rounded corner, from 0 to 100.
GradientRatio1 The amount of ColorProperty.GradientColor1 to use in a color gradient. The sum of the five GradientRatio properties must equal 255.
GradientRatio2 The amount of ColorProperty.GradientColor2 to use in a color gradient. The sum of the five GradientRatio properties must equal 255.
GradientRatio3 The amount of ColorProperty.GradientColor3 to use in a color gradient. The sum of the five GradientRatio properties must equal 255.
GradientRatio4 The amount of ColorProperty.GradientColor4 to use in a color gradient. The sum of the five GradientRatio properties must equal 255.
GradientRatio5 The amount of ColorProperty.GradientColor5 to use in a color gradient. The sum of the five GradientRatio properties must equal 255.
ProgressChunkSize The size of progress bar elements.
ProgressSpaceSize The size of spaces between progress bar elements.
Saturation The amount of saturation for an image, between 0 and 255.
TextBorderSize The size of the border around text characters.
AlphaThreshold The minimum alpha value of a solid pixel, between 0 and 255.
Width The width of an element.
Height The height of an element.
GlyphIndex The index into the font for font-based glyphs.
TrueSizeStretchMark A percentage value indicating how far a fixed-size element will stretch when the target exceeds the source.
MinDpi1 The minimum dots per inch (DPI) that FilenameProperty.ImageFile1 was designed for.
MinDpi2 The minimum DPI that FilenameProperty.ImageFile2 was designed for.
MinDpi3 The minimum DPI that FilenameProperty.ImageFile3 was designed for.
MinDpi4 The minimum DPI that FilenameProperty.ImageFile4 was designed for.
MinDpi5 The minimum DPI that FilenameProperty.ImageFile5 was designed for.

The IntegerProperty enumeration represents a set of integer properties that describe visual style elements. The IntegerProperty values are used as an argument in the VisualStyleRenderer.GetInteger method to specify which property value to retrieve for the element that the VisualStyleRenderer currently represents.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ