MonobjcMonobjc Documented Class Library
FrameForItemAtIndex Method (index)
NamespacesMonobjc.AppKitNSCollectionViewFrameForItemAtIndex(NSUInteger)

Returns the frame of the collection view item at the specified index.

Original signature is '- (NSRect)frameForItemAtIndex:(NSUInteger)index'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSRect FrameForItemAtIndex(
	NSUInteger index
)
Public Overridable Function FrameForItemAtIndex ( _
	index As NSUInteger _
) As NSRect
public:
virtual NSRect FrameForItemAtIndex(
	NSUInteger index
)
Parameters
index (NSUInteger)
The index of the collection view item.
Return Value
Returns the frame calculated by the receiver where it intends to place the subview for the NSCollectionViewItem at the given index. The rectangle is returned in the receiver’s coordinate system.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)