# Sandbox.UI.StyleSheet

- Kind: class
- Namespace: `Sandbox.UI`
- Assembly: `Sandbox.Engine`

## Constructors

- [`StyleSheet`](/api/Sandbox.UI.StyleSheet/.ctor)

## Fields

- [`KeyFrames`](/api/Sandbox.UI.StyleSheet/KeyFrames)
- [`Mixins`](/api/Sandbox.UI.StyleSheet/Mixins)
- [`Variables`](/api/Sandbox.UI.StyleSheet/Variables)

## Properties

- [`FileName`](/api/Sandbox.UI.StyleSheet/FileName)
- [`IncludedFiles`](/api/Sandbox.UI.StyleSheet/IncludedFiles)
- [`Loaded`](/api/Sandbox.UI.StyleSheet/Loaded)
- [`Nodes`](/api/Sandbox.UI.StyleSheet/Nodes)

## Methods

- [`AddKeyFrames`](/api/Sandbox.UI.StyleSheet/AddKeyFrames)
- [`FromFile`](/api/Sandbox.UI.StyleSheet/FromFile)
- [`FromInline`](/api/Sandbox.UI.StyleSheet/FromInline): 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).
- [`FromString`](/api/Sandbox.UI.StyleSheet/FromString)
- [`GetMixin`](/api/Sandbox.UI.StyleSheet/GetMixin): Get a mixin by name or null if not found.
- [`GetVariable`](/api/Sandbox.UI.StyleSheet/GetVariable)
- [`Release`](/api/Sandbox.UI.StyleSheet/Release): Releases the filesystem watcher so we won't get file changed events.
- [`ReplaceVariables`](/api/Sandbox.UI.StyleSheet/ReplaceVariables)
- [`SetMixin`](/api/Sandbox.UI.StyleSheet/SetMixin): Register a mixin definition.
- [`TryGetMixin`](/api/Sandbox.UI.StyleSheet/TryGetMixin): Try to get a mixin by name.
