System.Windows.Forms.VisualStyles.ImageSelectType Enumeration

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

Syntax

public enum ImageSelectType

Remarks

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

The System.Windows.Forms.VisualStyles.ImageSelectType values represent the return values of the VisualStyleRenderer.GetEnumValue(EnumProperty) method when it is called with an argument value of EnumProperty.ImageSelectType.

Members

Member NameDescription
Dpi

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

None

The image file does not change.

Size

Image file changes are based on size settings.

Requirements

Namespace: System.Windows.Forms.VisualStyles
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0