---
title: CPBarButtonStyle
framework: carplay
role: symbol
role_heading: Enumeration
path: carplay/cpbarbuttonstyle
---

# CPBarButtonStyle

The display style of a bar button.

## Declaration

```swift
enum CPBarButtonStyle
```

## Topics

### Button Styles

- [CPBarButtonStyle.none](carplay/cpbarbuttonstyle/none.md)
- [CPBarButtonStyle.rounded](carplay/cpbarbuttonstyle/rounded.md)

### Initializers

- [init(rawValue:)](carplay/cpbarbuttonstyle/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Getting the Button Style

- [buttonType](carplay/cpbarbutton/buttontype.md)
- [buttonStyle](carplay/cpbarbutton/buttonstyle.md)
