UICollectionViewDelegate_Extensions.CanPerformAction(IUICollectionViewDelegate, UICollectionView, Selector, NSIndexPath, NSObject) UICollectionViewDelegate_Extensions.CanPerformAction(IUICollectionViewDelegate, UICollectionView, Selector, NSIndexPath, NSObject) Method

Definition

Whether the cell at the specified indexPath supports the specified action.

public static bool CanPerformAction (this UIKit.IUICollectionViewDelegate This, UIKit.UICollectionView collectionView, ObjCRuntime.Selector action, Foundation.NSIndexPath indexPath, Foundation.NSObject sender);
static member CanPerformAction : UIKit.IUICollectionViewDelegate * UIKit.UICollectionView * ObjCRuntime.Selector * Foundation.NSIndexPath * Foundation.NSObject -> bool

Parameters

This
IUICollectionViewDelegate IUICollectionViewDelegate

The instance on which this extension method operates.

collectionView
UICollectionView UICollectionView

The collection view that originated the request.

Returns

The default value is false.

Remarks

This method is called after ShouldShowMenu(IUICollectionViewDelegate, UICollectionView, NSIndexPath) and allows the developer to remove particular menu items from the displayed editing menu.

Applies to