# StyleBackgroundRepeat

> Represents a style value that can be either a BackgroundRepeat or a StyleKeyword.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEngine.UIElements](/engine/6000.6/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule
* **Implements:** [IStyleValue\<BackgroundRepeat>](/engine/6000.6/script-reference/unityengine/uielements/istylevalue1.md), [IEquatable\<StyleBackgroundRepeat>](https://learn.microsoft.com/dotnet/api/system.iequatable-1)

```csharp
public struct StyleBackgroundRepeat : IStyleValue<BackgroundRepeat>, IEquatable<StyleBackgroundRepeat>
```

## Constructors

| Constructor                                                                                                                                                                                      | Description                                                                                                                                                                                                                                    |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [StyleBackgroundRepeat(UnityEngine.UIElements.BackgroundRepeat)](/engine/6000.6/script-reference/unityengine/uielements/stylebackgroundrepeat/ctor.md#stylebackgroundrepeat\(backgroundrepeat\)) | Creates a new StyleBackgroundRepeat from either a [BackgroundRepeat](/engine/6000.6/script-reference/unityengine/uielements/backgroundrepeat.md) or a [StyleKeyword](/engine/6000.6/script-reference/unityengine/uielements/stylekeyword.md).  |
| [StyleBackgroundRepeat(UnityEngine.UIElements.StyleKeyword)](/engine/6000.6/script-reference/unityengine/uielements/stylebackgroundrepeat/ctor.md#stylebackgroundrepeat\(stylekeyword\))         | Creates  a new StyleBackgroundRepeat from either a [BackgroundRepeat](/engine/6000.6/script-reference/unityengine/uielements/backgroundrepeat.md) or a [StyleKeyword](/engine/6000.6/script-reference/unityengine/uielements/stylekeyword.md). |

## Properties

| Property                                                                                           | Description                                                                                               |
| -------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- |
| [keyword](/engine/6000.6/script-reference/unityengine/uielements/stylebackgroundrepeat/keyword.md) | The style keyword.                                                                                        |
| [value](/engine/6000.6/script-reference/unityengine/uielements/stylebackgroundrepeat/value.md)     | The [BackgroundRepeat](/engine/6000.6/script-reference/unityengine/uielements/backgroundrepeat.md) value. |
