UITableViewDelegate.ShouldShowMenu(UITableView, NSIndexPath) 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 editing menu should be displayed for the row specified by indexPath
.
[Foundation.Export("tableView:shouldShowMenuForRowAtIndexPath:")]
public virtual bool ShouldShowMenu (UIKit.UITableView tableView, Foundation.NSIndexPath rowAtindexPath);
abstract member ShouldShowMenu : UIKit.UITableView * Foundation.NSIndexPath -> bool
override this.ShouldShowMenu : UIKit.UITableView * Foundation.NSIndexPath -> bool
Parameters
- tableView
- UITableView
Table view containing the row.
- rowAtindexPath
- NSIndexPath
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
.
- Attributes
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).