# Sandbox.UI.StyleSheetCollection.Load

```csharp
void Load(string filename, bool inheritVariables = True, bool failSilently = False)
```

Load the stylesheet from a file.

### Parameters

- `filename` (`string`)
- `inheritVariables` (`bool`), default `True`
- `failSilently` (`bool`), default `False`

Declared in [Sandbox.UI.StyleSheetCollection](/api/Sandbox.UI.StyleSheetCollection).
Assembly: `Sandbox.Engine`.
