Bearbeiten

Freigeben über


UICollectionViewController.ShouldShowMenu Method

Definition

Whether the edit menu should be shown for the specified item.

[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

Parameters

collectionView
UICollectionView

Collection view managed by this view controller.

indexPath
NSIndexPath

Index path for the affected item.

Returns

Returns true if menu should be shown, false if not.

Attributes

Applies to