---
title: titleAlignment
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsformcell/titlealignment
---

# titleAlignment

The alignment of the title.

## Declaration

```swift
var titleAlignment: NSTextAlignment { get set }
```

## Discussion

Discussion The alignment can be one of the following values: NSLeftTextAlignment, NSCenterTextAlignment, or NSRightTextAlignment. The default alignment is NSRightTextAlignment.

## See Also

### Accessing a Cell’s Title

- [attributedTitle](appkit/nsformcell/attributedtitle.md)
- [title](appkit/nsformcell/title.md)
- [titleBaseWritingDirection](appkit/nsformcell/titlebasewritingdirection.md)
- [titleFont](appkit/nsformcell/titlefont.md)
- [titleWidth](appkit/nsformcell/titlewidth.md)
