UITableViewController.CanPerformAction 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.
Whether the cell at the specified indexPath can perform the specified Copy or Paste operation.
[Foundation.Export("tableView:canPerformAction:forRowAtIndexPath:withSender:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool CanPerformAction(UIKit.UITableView tableView, ObjCRuntime.Selector action, Foundation.NSIndexPath indexPath, Foundation.NSObject sender);
[<Foundation.Export("tableView:canPerformAction:forRowAtIndexPath:withSender:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CanPerformAction : UIKit.UITableView * ObjCRuntime.Selector * Foundation.NSIndexPath * Foundation.NSObject -> bool
override this.CanPerformAction : UIKit.UITableView * ObjCRuntime.Selector * Foundation.NSIndexPath * Foundation.NSObject -> bool
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.
- sender
- NSObject
Object that initially triggere the Copy or Paste.
Returns
Implements
- Attributes