Поделиться через


UICollectionViewDelegate.CanPerformAction Метод

Определение

Может ли этот uiCollectionViewDelegate выполнять указанное действие с элементом в 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

Параметры

collectionView
UICollectionView

Представление коллекции, в которое поступил запрос.

action
Selector
indexPath
NSIndexPath
sender
NSObject

Возвращаемое значение

Атрибуты

Применяется к