UITableViewDelegate_Extensions.CanPerformAction Méthode

Définition

Indique si la cellule au niveau de l’indexPath spécifié peut effectuer l’opération de copie ou de collage spécifiée.

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

Paramètres

This
IUITableViewDelegate

Instance sur laquelle cette méthode d’extension fonctionne.

tableView
UITableView

Vue table contenant la ligne.

action
Selector

Sélecteur identifiant la méthode Copier ou Coller (par exemple. Copy(NSObject) ou Paste(NSObject)).

indexPath
NSIndexPath

Emplacement de la ligne.

sender
NSObject

Objet qui déclenche initialement le copier-coller.

Retours

S’applique à