This documentation is archived and is not being maintained.

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 nameDescription
ImageCountThe number of state images in multiple-image file.
AlphaLevelThe alpha value for an icon, between 0 and 255.
BorderSizeThe size of the border line for elements with a filled-border background.
RoundCornerWidthA percentage value that represents the width of a rounded corner, from 0 to 100.
RoundCornerHeightA percentage value that represents the height of a rounded corner, from 0 to 100.
GradientRatio1The amount of ColorProperty.GradientColor1 to use in a color gradient. The sum of the five GradientRatio properties must equal 255.
GradientRatio2The amount of ColorProperty.GradientColor2 to use in a color gradient. The sum of the five GradientRatio properties must equal 255.
GradientRatio3The amount of ColorProperty.GradientColor3 to use in a color gradient. The sum of the five GradientRatio properties must equal 255.
GradientRatio4The amount of ColorProperty.GradientColor4 to use in a color gradient. The sum of the five GradientRatio properties must equal 255.
GradientRatio5The amount of ColorProperty.GradientColor5 to use in a color gradient. The sum of the five GradientRatio properties must equal 255.
ProgressChunkSizeThe size of progress bar elements.
ProgressSpaceSizeThe size of spaces between progress bar elements.
SaturationThe amount of saturation for an image, between 0 and 255.
TextBorderSizeThe size of the border around text characters.
AlphaThresholdThe minimum alpha value of a solid pixel, between 0 and 255.
WidthThe width of an element.
HeightThe height of an element.
GlyphIndexThe index into the font for font-based glyphs.
TrueSizeStretchMarkA percentage value indicating how far a fixed-size element will stretch when the target exceeds the source.
MinDpi1The minimum dots per inch (DPI) that FilenameProperty.ImageFile1 was designed for.
MinDpi2The minimum DPI that FilenameProperty.ImageFile2 was designed for.
MinDpi3The minimum DPI that FilenameProperty.ImageFile3 was designed for.
MinDpi4The minimum DPI that FilenameProperty.ImageFile4 was designed for.
MinDpi5The 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.

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.

.NET Framework

Supported in: 3.5, 3.0, 2.0
Show: