# showFoldoutHeader

> This property controls whether the list view displays a header, in the form of a foldout that can be expanded or collapsed.

## Definition

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

```csharp
[UxmlAttribute]
public bool showFoldoutHeader { get; set; }
```

### Remarks

The default value is `false`. When this property is set to `true`, Unity adds a foldout in the hierarchy of the list view and moves the scroll view inside that newly created foldout. You can change the text of this foldout with [\_headerTitle](/engine/6000.6/script-reference/unityengine/uielements/baselistview/headertitle.md) property on the ListView. If [\_showBoundCollectionSize](/engine/6000.6/script-reference/unityengine/uielements/baselistview/showboundcollectionsize.md) is set to `true`, the ListView includes a TextField to control the array size. If the [\_makeHeader](/engine/6000.6/script-reference/unityengine/uielements/baselistview/makeheader.md) callback is set, no Foldout is shown.
