---
title: maximumHeaderGridButtonCount
framework: carplay
role: symbol
role_heading: Type Property
path: carplay/cplisttemplate/maximumheadergridbuttoncount
---

# maximumHeaderGridButtonCount

The maximum number of grid buttons that may appear in a @c CPListTemplate.

## Declaration

```swift
class var maximumHeaderGridButtonCount: Int { get }
```

## Discussion

Discussion note: Your list template will display the first @c maximumHeaderGridButtonCount buttons. Any sections beyond that limit will be trimmed.
