<!--
{
  "availability" : [
    "macOS: 10.10.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSWindow/contentLayoutRect",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSWindow(py)contentLayoutRect"
  },
  "title" : "contentLayoutRect"
}
-->

# contentLayoutRect

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

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

## Discussion

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)