---
title: titlePosition
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsbox/titleposition-swift.property
---

# titlePosition

A constant representing the title position.

## Declaration

```swift
var titlePosition: NSBox.TitlePosition { get set }
```

## Discussion

Discussion A constant representing the position of the receiver’s title. See NSBox.TitlePosition for a list of these constants. If the new title position changes the size of the box’s border area, the content view is resized to absorb the difference, and the box is marked as needing redisplay.

## See Also

### Configuring Boxes

- [borderRect](appkit/nsbox/borderrect.md)
- [boxType](appkit/nsbox/boxtype-swift.property.md)
- [borderType](appkit/nsbox/bordertype.md)
- [isTransparent](appkit/nsbox/istransparent.md)
- [title](appkit/nsbox/title.md)
- [titleFont](appkit/nsbox/titlefont.md)
- [titleCell](appkit/nsbox/titlecell.md)
- [titleRect](appkit/nsbox/titlerect.md)
