次の方法で共有


NSCollectionView.GetIndexPath メソッド

定義

オーバーロード

GetIndexPath(NSCollectionViewItem)
GetIndexPath(CGPoint)

GetIndexPath(NSCollectionViewItem)

[Foundation.Export("indexPathForItem:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual Foundation.NSIndexPath GetIndexPath (AppKit.NSCollectionViewItem item);
abstract member GetIndexPath : AppKit.NSCollectionViewItem -> Foundation.NSIndexPath
override this.GetIndexPath : AppKit.NSCollectionViewItem -> Foundation.NSIndexPath

パラメーター

戻り値

属性

適用対象

GetIndexPath(CGPoint)

[Foundation.Export("indexPathForItemAtPoint:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual Foundation.NSIndexPath GetIndexPath (CoreGraphics.CGPoint point);
abstract member GetIndexPath : CoreGraphics.CGPoint -> Foundation.NSIndexPath
override this.GetIndexPath : CoreGraphics.CGPoint -> Foundation.NSIndexPath

パラメーター

point
CGPoint

戻り値

属性

適用対象