This documentation is archived and is not being maintained.
IntegerProperty Enumeration
Visual Studio 2010
Identifies the integer properties of a visual style element.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
| 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.
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.
Show: