UITableViewSource.PerformAction Method

Definition

Called to perform a copy or paste operation on the row specified by indexPath.

[Foundation.Export("tableView:performAction:forRowAtIndexPath:withSender:")]
public virtual void PerformAction (UIKit.UITableView tableView, ObjCRuntime.Selector action, Foundation.NSIndexPath indexPath, Foundation.NSObject sender);
abstract member PerformAction : UIKit.UITableView * ObjCRuntime.Selector * Foundation.NSIndexPath * Foundation.NSObject -> unit
override this.PerformAction : UIKit.UITableView * ObjCRuntime.Selector * Foundation.NSIndexPath * Foundation.NSObject -> unit

Parameters

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 where the copy or paste operation was selected.

sender
NSObject

Object that triggered the copy or paste operation.

This parameter can be null.

Attributes

Remarks

This method is called when a copy or paste operation is chosen from the editing menu in a table view cell. The implementation may use UIPasteboard to write the relevant indexPath row data to share with other applications (or just for use within the current application).

Declared in [UITableViewDelegate]

Applies to