# horizontalScrollingEnabled

> This property controls whether the collection view shows a horizontal scroll bar when its content does not fit in the visible area.

## Definition

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

```csharp
[UxmlAttribute("horizontal-scrolling")]
public bool horizontalScrollingEnabled { get; set; }
```
