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

# containerFrame

The rectangle of the item’s visible content.

```
var containerFrame: NSRect { get }
```

## Discussion

The rectangle in this property corresponds to the onscreen frame rectangle of the item. This rectangle may or may not intersect the [`sourceFrame`](/documentation/Foundation/NSItemProvider/sourceFrame) rectangle of the item. An intersection of the rectangles means that at least part of the item is visible onscreen.

The rectangle in this property may be a clipped version of the source frame or it might be [`NSZeroRect`](/documentation/Foundation/NSZeroRect) if the item is offscreen or the system can’t determine the clipping rectangle. The system treats a value of [`NSZeroRect`](/documentation/Foundation/NSZeroRect) as meaning the item is fully visible.

---

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)