Edytuj

Udostępnij za pośrednictwem


UITableViewDelegate_Extensions.CanPerformAction Method

Definition

Whether the cell at the specified indexPath can perform the specified Copy or Paste operation.

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

Parameters

This
IUITableViewDelegate

The instance on which this extension method operates.

tableView
UITableView

Table view containing the row.

action
Selector

A selector identifying the Copy or Paste method (ie. Copy(NSObject) or Paste(NSObject)).

indexPath
NSIndexPath

Location of the row.

sender
NSObject

Object that initially triggere the Copy or Paste.

Returns

Applies to