NSCollectionView.FrameForItemAtIndex 方法

定义

重载

FrameForItemAtIndex(nint, nint)
FrameForItemAtIndex(nint)

FrameForItemAtIndex(nint, nint)

[Foundation.Export("frameForItemAtIndex:withNumberOfItems:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 7, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual CoreGraphics.CGRect FrameForItemAtIndex (nint index, nint numberOfItems);
abstract member FrameForItemAtIndex : nint * nint -> CoreGraphics.CGRect
override this.FrameForItemAtIndex : nint * nint -> CoreGraphics.CGRect

参数

index
System.System.IntPtr System.nativeint
numberOfItems
System.System.IntPtr System.nativeint

返回

属性

适用于

FrameForItemAtIndex(nint)

[Foundation.Export("frameForItemAtIndex:")]
public virtual CoreGraphics.CGRect FrameForItemAtIndex (nint index);
abstract member FrameForItemAtIndex : nint -> CoreGraphics.CGRect
override this.FrameForItemAtIndex : nint -> CoreGraphics.CGRect

参数

index
System.System.IntPtr System.nativeint

返回

属性

适用于