UIKit.UITableViewSource.MoveRow Method
Called when a row has been moved so that the data source can 'implement' the changed row position that has been performed in the user interface. This ensures the data is kept in-sync with what is being displayed.

Syntax

[Foundation.Export("tableView:moveRowAtIndexPath:toIndexPath:")]
public virtual void MoveRow (UITableView tableView, Foundation.NSIndexPath sourceIndexPath, Foundation.NSIndexPath destinationIndexPath)

Parameters

tableView
Table view containing the row being moved.
sourceIndexPath
Location of the row to be moved.
destinationIndexPath
New location of the row.

Remarks

When a row is moved (when the table view is in edit mode), the source needs to be updated to reflect that change. Implement this method to persist the updated row position in the data source.

Declared in [UITableViewDataSource]

Requirements

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