UICollectionViewController.ShouldShowMenu Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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