# Sandbox.UI.PanelStyle.SetBackgroundImage

## Overload 1

```csharp
void SetBackgroundImage(Texture texture)
```

### Parameters

- `texture` (`Texture`)

## Overload 2

```csharp
void SetBackgroundImage(string image)
```

### Parameters

- `image` (`string`)

Declared in [Sandbox.UI.PanelStyle](/api/Sandbox.UI.PanelStyle).
Assembly: `Sandbox.Engine`.
