共用方式為


NSCollectionViewDelegateFlowLayout.WillDisplayItem 方法

定義

[Foundation.Export("collectionView:willDisplayItem:forRepresentedObjectAtIndexPath:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void WillDisplayItem (AppKit.NSCollectionView collectionView, AppKit.NSCollectionViewItem item, Foundation.NSIndexPath indexPath);
abstract member WillDisplayItem : AppKit.NSCollectionView * AppKit.NSCollectionViewItem * Foundation.NSIndexPath -> unit
override this.WillDisplayItem : AppKit.NSCollectionView * AppKit.NSCollectionViewItem * Foundation.NSIndexPath -> unit

參數

collectionView
NSCollectionView
indexPath
NSIndexPath
屬性

適用於