# Sandbox.UI.StyleSheet.FromInline

```csharp
static StyleSheet FromInline(string content, string key)
```

Get a stylesheet parsed from an inline string. The parsed sheet is cached under
`key` and shared - it only reparses if the content changes (hotload).

### Parameters

- `content` (`string`)
- `key` (`string`)

### Returns

`StyleSheet`

Declared in [Sandbox.UI.StyleSheet](/api/Sandbox.UI.StyleSheet).
Assembly: `Sandbox.Engine`.
