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

# isBordered

A Boolean value that controls whether the text field draws a solid black border around its contents.

## Declaration

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

## Discussion

Discussion If true, the text field draws a border; if false, it doesn’t draw a border.
