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

# contentResizeIncrements

The window’s content-view resizing increments.

```
var contentResizeIncrements: NSSize { get set }
```

## Discussion

The value of this property restricts the user’s ability to resize the window so the width and height of its content view change by multiples of width and height increments. As the user resizes the window, the size of its content view changes by integral multiples of `contentResizeIncrements.width` and `contentResizeIncrements.height`. However, you can set a window’s size to any width and height programmatically. This property takes precedence over [`resizeIncrements`](/documentation/AppKit/NSWindow/resizeIncrements).

---

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)