BackgroundType Enum

Definition

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

C#
public enum BackgroundType
Inheritance
BackgroundType

Fields

Name Value Description
ImageFile 0

The background of the element is a bitmap. If this value is set, then the property corresponding to the ImageFile value will contain the name of a valid image file.

BorderFill 1

The background of the element is a rectangle filled with a color or pattern.

None 2

The element has no background.

Remarks

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.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10