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.
Member Name | Description |
---|---|
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. |