แก้ไข

แชร์ผ่าน


ImageSelectType Enum

Definition

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

public enum class ImageSelectType
public enum ImageSelectType
type ImageSelectType = 
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