<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSBindingOption/selectsAllWhenSettingContent",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@NSSelectsAllWhenSettingContentBindingOption"
  },
  "title" : "selectsAllWhenSettingContent"
}
-->

# selectsAllWhenSettingContent

An `NSNumber` object containing a Boolean value that specifies if all the items in the array controller are selected when the content is set.

```
static let selectsAllWhenSettingContent: NSBindingOption
```

---

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)