Lire en anglais Modifier

Partager via


ImageSelectType Enum

Definition

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

C#
public enum ImageSelectType
Inheritance
ImageSelectType

Fields

Name Value Description
None 0

The image file does not change.

Size 1

Image file changes are based on size settings.

Dpi 2

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

Remarks

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.

Applies to

Produit Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10