Instance Property

containerFrame

The rectangle (in screen coordinates) of the item’s visible content.

Declaration

@property(readonly) NSRect containerFrame;

Discussion

The rectangle in this property corresponds to the onscreen frame rectangle of the item. This rectangle may or may not intersect the 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 if the item is offscreen or the clipping rectangle cannot be determined. The system treats a value of NSZeroRect as meaning the item is fully visible.

See Also

Getting the Visual Attributes

sourceFrame

The rectangle (in screen coordinates) occupied by the item in the host app’s source window.

preferredPresentationSize

The ideal presentation size of the item.

preferredPresentationStyle

The preferred style for presenting the item provider's data.

UIPreferredPresentationStyle

The presentation styles that determine how a view should show an item provider's data.