---
title: isBordered
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsbutton/isbordered
---

# isBordered

A Boolean value that determines whether the button has a border.

## Declaration

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

## Discussion

Discussion The value of this property is true if the button has a border, false otherwise. A button’s border isn’t the single line of most other controls’ borders—instead, it’s a raised bezel. By default, buttons are bordered. If the bordered state of a button changes, it gets redrawn.

## See Also

### Configuring button images

- [image](appkit/nsbutton/image.md)
- [alternateImage](appkit/nsbutton/alternateimage.md)
- [imagePosition](appkit/nsbutton/imageposition.md)
- [NSControl.ImagePosition](appkit/nscontrol/imageposition.md)
- [isTransparent](appkit/nsbutton/istransparent.md)
- [bezelStyle](appkit/nsbutton/bezelstyle-swift.property.md)
- [bezelColor](appkit/nsbutton/bezelcolor.md)
- [showsBorderOnlyWhileMouseInside](appkit/nsbutton/showsborderonlywhilemouseinside.md)
- [imageHugsTitle](appkit/nsbutton/imagehugstitle.md)
- [imageScaling](appkit/nsbutton/imagescaling.md)
