---
title: isBezeled
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstextfield/isbezeled
---

# isBezeled

A Boolean value that controls whether the text field draws a bezeled background around its contents.

## Declaration

```swift
var isBezeled: Bool { get set }
```

## Discussion

Discussion If true, the text field draws a bezel and sets drawsBackground to false; if false, it doesn’t draw a bezeled background.

## See Also

### Controlling the Background

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