---
title: maximumActionButtonCount
framework: carplay
role: symbol
role_heading: Type Property
path: carplay/cplisttemplatedetailsheader/maximumactionbuttoncount
---

# maximumActionButtonCount

The maximum number of action buttons that can be displayed in the header.

## Declaration

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

## Return Value

Return Value The maximum number of action buttons supported by this header type.

## Discussion

Discussion This class property defines the upper limit for action buttons to ensure proper layout and usability within the CarPlay interface constraints. Any buttons beyond this limit in the actionButtons array will be ignored.
