共用方式為


UICollectionViewSource.ShouldShowMenu(UICollectionView, NSIndexPath) 方法

定義

指定 indexPath 上的專案是否應該顯示動作功能表。

[Foundation.Export("collectionView:shouldShowMenuForItemAtIndexPath:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool ShouldShowMenu (UIKit.UICollectionView collectionView, Foundation.NSIndexPath indexPath);
abstract member ShouldShowMenu : UIKit.UICollectionView * Foundation.NSIndexPath -> bool
override this.ShouldShowMenu : UIKit.UICollectionView * Foundation.NSIndexPath -> bool

參數

collectionView
UICollectionView

產生要求的集合檢視。

indexPath
NSIndexPath

傳回

屬性

適用於