UIKit.UITableView.MoveRow Method
Moves a row from fromIndexPath to toIndexPath.

Syntax

[Foundation.Export("moveRowAtIndexPath:toIndexPath:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_5_0)]
public virtual void MoveRow (Foundation.NSIndexPath fromIndexPath, Foundation.NSIndexPath toIndexPath)

Parameters

fromIndexPath
An Foundation.NSIndexPath indicating the original row.
toIndexPath
The desired location.

Remarks

There is no function for moving an array of rows (in contrast to UITableView.InsertRows or UITableView.DeleteRows). The applicatin developer must instead repeatedly call this function. If this function is called within a UITableView.BeginUpdates-UITableView.EndUpdates animation block, all the row manipulation will occur as a single animation.

Requirements

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