UITableViewDataSource.CanMoveRow(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 row located at indexPath
can be moved to another location in the table view.
[Foundation.Export("tableView:canMoveRowAtIndexPath:")]
public virtual bool CanMoveRow (UIKit.UITableView tableView, Foundation.NSIndexPath indexPath);
abstract member CanMoveRow : UIKit.UITableView * Foundation.NSIndexPath -> bool
override this.CanMoveRow : UIKit.UITableView * Foundation.NSIndexPath -> bool
Parameters
- tableView
- UITableView
Table view containing the row.
- indexPath
- NSIndexPath
Location of the row.
Returns
true
if the row can be moved, otherwise false
.
- Attributes
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 MoveRow(UITableView, NSIndexPath, NSIndexPath) is implemented on the UITableViewSource.