---
title: style
framework: carplay
role: symbol
role_heading: Instance Property
path: carplay/cpalertaction/style-swift.property
---

# style

The display style for the action button.

## Declaration

```swift
var style: CPAlertAction.Style { get }
```

## Discussion

Discussion The combination of style and the template type, CPActionSheetTemplate or CPAlertTemplate, determines the appearance of the action button.

## See Also

### Getting the Action Style

- [CPAlertAction.Style](carplay/cpalertaction/style-swift.enum.md)
