UITableViewDataSource_Extensions.MoveRow(IUITableViewDataSource, UITableView, NSIndexPath, NSIndexPath) UITableViewDataSource_Extensions.MoveRow(IUITableViewDataSource, UITableView, NSIndexPath, NSIndexPath) Method

Definition

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.

public static void MoveRow (this UIKit.IUITableViewDataSource This, UIKit.UITableView tableView, Foundation.NSIndexPath sourceIndexPath, Foundation.NSIndexPath destinationIndexPath);
static member MoveRow : UIKit.IUITableViewDataSource * UIKit.UITableView * Foundation.NSIndexPath * Foundation.NSIndexPath -> unit

Parameters

This
IUITableViewDataSource IUITableViewDataSource

The instance on which this extension method operates.

tableView
UITableView UITableView

Table view containing the row being moved.

sourceIndexPath
NSIndexPath NSIndexPath

Location of the row to be moved.

destinationIndexPath
NSIndexPath NSIndexPath

New location of the row.

Applies to