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

# bezelStyle

The appearance of the button’s border, if it has one.

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

## Discussion

The value of this property is a constant that specifies the bezel style used by the button. See [`NSButton.BezelStyle`](/documentation/AppKit/NSButton/BezelStyle-swift.enum) for a list of possible values. If a button is borderless, the value of this property is ignored.

A button uses shading to look like it’s sticking out or pushed in. You can set the shading with the [`gradientType`](/documentation/AppKit/NSButtonCell/gradientType) property.

---

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)