Upravit

Sdílet prostřednictvím


UICollectionViewDelegate.CanPerformAction Method

Definition

Whether this UICollectionViewDelegate can perform the specified action on an item in the UICollectionView.

[Foundation.Export("collectionView:canPerformAction:forItemAtIndexPath:withSender:")]
public virtual bool CanPerformAction (UIKit.UICollectionView collectionView, ObjCRuntime.Selector action, Foundation.NSIndexPath indexPath, Foundation.NSObject sender);
abstract member CanPerformAction : UIKit.UICollectionView * ObjCRuntime.Selector * Foundation.NSIndexPath * Foundation.NSObject -> bool
override this.CanPerformAction : UIKit.UICollectionView * ObjCRuntime.Selector * Foundation.NSIndexPath * Foundation.NSObject -> bool

Parameters

collectionView
UICollectionView

The collection view that originated the request.

action
Selector
indexPath
NSIndexPath
sender
NSObject

Returns

Attributes

Applies to