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

返回

属性

适用于