Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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
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.

.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.

Community Additions

ADD
Show:
© 2015 Microsoft