ImageSelectType Enumeration
Collapse the table of content
Expand the table of content

ImageSelectType Enumeration


Specifies when the visual style selects a different multiple-image file to draw an element.

Namespace:   System.Windows.Forms.VisualStyles
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public enum ImageSelectType

Member nameDescription

Image file changes are based on dots per inch (DPI) settings.


The image file does not change.


Image file changes are based on size settings.

A visual style can define up to five multiple-image files for an element. These image files are specified by the FilenameProperty values ImageFile1 through ImageFile5. The ImageSelectType values indicate when the visual style selects a different image file to draw the element.

The ImageSelectType values represent the return values of the VisualStyleRenderer.GetEnumValue method when it is called with an argument value of EnumProperty.ImageSelectType.

.NET Framework
Available since 2.0
Return to top
© 2016 Microsoft