---
title: contentLayoutRect
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nswindow/contentlayoutrect
---

# contentLayoutRect

The area inside the window that is for non-obscured content, in window coordinates.

## Declaration

```swift
var contentLayoutRect: NSRect { get }
```

## Discussion

Discussion Typically, the area represented by this property is the same as the frame of the contentView. However, for windows with NSFullSizeContentViewWindowMask set, there needs to be a way to determine the portion that is not under the toolbar. The contentLayoutRect property contains the portion of the layout that is not obscured under the toolbar. This property is KVO compliant.

## See Also

### Sizing Content

- [contentAspectRatio](appkit/nswindow/contentaspectratio.md)
- [contentMinSize](appkit/nswindow/contentminsize.md)
- [setContentSize(_:)](appkit/nswindow/setcontentsize(_:).md)
- [contentMaxSize](appkit/nswindow/contentmaxsize.md)
- [contentResizeIncrements](appkit/nswindow/contentresizeincrements.md)
- [contentLayoutGuide](appkit/nswindow/contentlayoutguide.md)
- [maxFullScreenContentSize](appkit/nswindow/maxfullscreencontentsize.md)
- [minFullScreenContentSize](appkit/nswindow/minfullscreencontentsize.md)
