BackgroundType Enumeration

 

Specifies the source of a visual style element's background.

Namespace:   System.Windows.Forms.VisualStyles
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public enum class BackgroundType

Member nameDescription
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.

The background of a visual style element can be a bitmap image, a filled rectangle, or nothing. The BackgroundType values represent the return values of the GetEnumValue method when it is called with an argument value of EnumProperty::BackgroundType.

.NET Framework
Available since 2.0
Return to top
Show: