Compartir a través de


UICollectionViewSource.CanPerformAction Método

Definición

Si la celda del indexPath especificado admite la acción especificada.

[Foundation.Export("collectionView:canPerformAction:forItemAtIndexPath:withSender:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
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

Parámetros

collectionView
UICollectionView

Vista de colección que originó la solicitud.

action
Selector
indexPath
NSIndexPath
sender
NSObject

Devoluciones

Atributos

Se aplica a