# showAlternatingRowBackgrounds

> This property controls whether the background colors of collection view rows alternate. Takes a value from the AlternatingRowBackground enum.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.UIElements](/engine/6000.0/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
[CreateProperty]
public AlternatingRowBackground showAlternatingRowBackgrounds { get; set; }
```
