IntegerProperty Enumeration
TOC
Collapse the table of content
Expand the table of content

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
AlphaLevel

The alpha value for an icon, between 0 and 255.

AlphaThreshold

The minimum alpha value of a solid pixel, between 0 and 255.

BorderSize

The size of the border line for elements with a filled-border background.

GlyphIndex

The index into the font for font-based glyphs.

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.

Height

The height of an element.

ImageCount

The number of state images in multiple-image file.

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.

ProgressChunkSize

The size of progress bar elements.

ProgressSpaceSize

The size of spaces between progress bar elements.

RoundCornerHeight

A percentage value that represents the height of a rounded corner, from 0 to 100.

RoundCornerWidth

A percentage value that represents the width of a rounded corner, from 0 to 100.

Saturation

The amount of saturation for an image, between 0 and 255.

TextBorderSize

The size of the border around text characters.

TrueSizeStretchMark

A percentage value indicating how far a fixed-size element will stretch when the target exceeds the source.

Width

The 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
Available since 2.0
Return to top
Show:
© 2016 Microsoft