UIKit.UITableViewSource.ShouldShowMenu Method
Whether the editing menu should be displayed for the row specified by indexPath.

Syntax

[Foundation.Export("tableView:shouldShowMenuForRowAtIndexPath:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_5_0)]
public virtual bool ShouldShowMenu (UITableView tableView, Foundation.NSIndexPath rowAtindexPath)

Parameters

tableView
Table view containing the row.
rowAtindexPath
Location of the row that the user is selecting.

Returns

true if the editing menu should appear for this row, or false if not. The default is false.

Remarks

This method controls whether the editing menu is displayed when the user tap-holds on the specified row. Return false to prevent the menu from appearing (for example, if copying or pasting of data is not supported on this row).

Declared in [UITableViewDelegate]

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0