UIKit.UITableViewSource.CanMoveRow Method
Whether the row located at indexPath can be moved to another location in the table view.

Syntax

[Foundation.Export("tableView:canMoveRowAtIndexPath:")]
public virtual bool CanMoveRow (UITableView tableView, Foundation.NSIndexPath indexPath)

Parameters

tableView
Table view containing the row.
indexPath
Location of the row.

Returns

true if the row can be moved, otherwise false.

Remarks

This method allows specific rows to have the reordering control to be hidden for specific rows. By default, the reordering control is always shown if UITableViewSource.MoveRow(UITableView, Foundation.NSIndexPath, Foundation.NSIndexPath) is implemented on the UIKit.UITableViewSource.

Declared in [UITableViewDataSource]

Requirements

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