BackgroundType Enumeration
.NET Framework (current version)
Specifies the source of a visual style element's background.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
| 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. |
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
Available since 2.0
Show: