The background of a visual style element can be a bitmap image, a filled rectangle, or nothing. The System.Windows.Forms.VisualStyles.BackgroundType values represent the return values of the VisualStyleRenderer.GetEnumValue(EnumProperty) method when it is called with an argument value of EnumProperty.BackgroundType.
Member Name | Description |
---|---|
BorderFill |
The background of the element is a rectangle filled with a color or pattern. |
ImageFile |
The background of the element is a bitmap. If this value is set, then the property corresponding to the FilenameProperty.ImageFile value will contain the name of a valid image file. |
None |
The element has no background. |