Share via


UICollectionViewSource.ShouldShowMenu(UICollectionView, NSIndexPath) Method

Definition

Whether the cell at the specified indexPath should show an Action menu.

[Foundation.Export("collectionView:shouldShowMenuForItemAtIndexPath:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool ShouldShowMenu(UIKit.UICollectionView collectionView, Foundation.NSIndexPath indexPath);
[<Foundation.Export("collectionView:shouldShowMenuForItemAtIndexPath:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ShouldShowMenu : UIKit.UICollectionView * Foundation.NSIndexPath -> bool
override this.ShouldShowMenu : UIKit.UICollectionView * Foundation.NSIndexPath -> bool

Parameters

collectionView
UICollectionView

The collection view that originated the request.

indexPath
NSIndexPath

Returns

Implements

Attributes

Applies to