<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTextFieldCell/bezelStyle",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSTextFieldCell(py)bezelStyle"
  },
  "title" : "bezelStyle"
}
-->

# bezelStyle

The bezel style to use when drawing the text field.

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

## Discussion

To set the bezel style, you must have already set the the text field’s [`isBezeled`](/documentation/AppKit/NSTextField/isBezeled) method with an argument of <doc://com.apple.documentation/documentation/Swift/true>. For a list of bezel styles, see [`NSTextField.BezelStyle`](/documentation/AppKit/NSTextField/BezelStyle-swift.enum).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)