# BackgroundStyle enum

Namespace: [Rhino.Display](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.display.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md) · Since v5.0

```cs
public enum BackgroundStyle
```

Constants that define how the background of a viewport should be filled.

## Values

| Name | Value | Description |
| --- | --- | --- |
| SolidColor | 0 | Single solid color fill. |
| WallpaperImage | 1 | Simple image background wallpaper. |
| Gradient | 2 | Two color top/bottom color gradient. |
| Environment | 3 | Using a Render Environment. |
