UITableViewSource.PerformAction Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- 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]