Share via


UITableViewDataSource_Extensions.MoveRow メソッド

定義

ユーザー インターフェイスで実行された変更された行位置をデータ ソースが "実装" できるように、行が移動されたときに呼び出されます。 これにより、データが表示されている内容と同期された状態に保たれます。

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

パラメーター

This
IUITableViewDataSource

この拡張メソッドが動作するインスタンス。

tableView
UITableView

移動する行を含むテーブル ビュー。

sourceIndexPath
NSIndexPath

移動する行の場所。

destinationIndexPath
NSIndexPath

行の新しい場所。

適用対象