Export (0) Print
Expand All
Expand Minimize

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
AlphaLevelThe alpha value for an icon, between 0 and 255.
AlphaThresholdThe minimum alpha value of a solid pixel, between 0 and 255.
BorderSizeThe size of the border line for elements with a filled-border background.
GlyphIndexThe index into the font for font-based glyphs.
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.
HeightThe height of an element.
ImageCountThe number of state images in multiple-image file.
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.
ProgressChunkSizeThe size of progress bar elements.
ProgressSpaceSizeThe size of spaces between progress bar elements.
RoundCornerHeightA percentage value that represents the height of a rounded corner, from 0 to 100.
RoundCornerWidthA percentage value that represents the width of a rounded corner, from 0 to 100.
SaturationThe amount of saturation for an image, between 0 and 255.
TextBorderSizeThe size of the border around text characters.
TrueSizeStretchMarkA percentage value indicating how far a fixed-size element will stretch when the target exceeds the source.
WidthThe width of an element.

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.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft