---
title: bezelStyle
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstextfield/bezelstyle-swift.property
---

# bezelStyle

The text field’s bezel style, square or rounded.

## Declaration

```swift
var bezelStyle: NSTextField.BezelStyle { get set }
```

## Discussion

Discussion To enable a bezel for a text field, set isBezeled to true, then set the bezel style. See NSTextField.BezelStyle for available bezel styles. note: When you set this property to NSTextField.BezelStyle.roundedBezel, the text field doesn’t wrap the text. It displays using a single line.

## See Also

### Controlling the Background

- [backgroundColor](appkit/nstextfield/backgroundcolor.md)
- [drawsBackground](appkit/nstextfield/drawsbackground.md)
- [isBezeled](appkit/nstextfield/isbezeled.md)
- [NSTextField.BezelStyle](appkit/nstextfield/bezelstyle-swift.enum.md)
