# Sandbox.UI.BackgroundClip

Possible values for the `background-clip` CSS property, deciding how far the background is painted.

- Kind: enum
- Namespace: `Sandbox.UI`
- Assembly: `Sandbox.System`
- Modifiers: sealed

## Fields

- [`BorderBox`](/api/Sandbox.UI.BackgroundClip/BorderBox): Painted over the whole element, borders included.
- [`ContentBox`](/api/Sandbox.UI.BackgroundClip/ContentBox): Stops at the inside edge of the padding.
- [`PaddingBox`](/api/Sandbox.UI.BackgroundClip/PaddingBox): Stops at the inside edge of the border.
- [`Text`](/api/Sandbox.UI.BackgroundClip/Text): Painted only where the element's text is, so the text shows through the glyphs.
