iOS Guides | Samples

MonoTouch.UIKit.UITableViewSource.PerformAction Method

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

Syntax

[MonoTouch.Foundation.Export("tableView:performAction:forRowAtIndexPath:withSender:")]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 5, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
public virtual Void PerformAction (UITableView tableView, Selector action, NSIndexPath indexPath, NSObject sender)

Parameters

tableView
Table view containing the row.
action
A selector identifying the Copy or Paste method (ie. UIResponder.Copy(NSObject) or UIResponder.Paste(NSObject)).
indexPath
Location of the row where the copy or paste operation was selected.
sender

Object that triggered the copy or paste operation.

This parameter can be null.

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]

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0