Export (0) Print
Expand All
Expand Minimize

IntegerProperty Enumeration

Note: This enumeration is new in the .NET Framework version 2.0.

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
public enum IntegerProperty
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.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

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

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2014 Microsoft