UITableViewDelegate_Extensions.CustomizeMoveTarget(IUITableViewDelegate, UITableView, NSIndexPath, NSIndexPath) UITableViewDelegate_Extensions.CustomizeMoveTarget(IUITableViewDelegate, UITableView, NSIndexPath, NSIndexPath) Method

Definition

Used to change a cell move destination, for example, to prevent dropping a cell in a certain position.

public static Foundation.NSIndexPath CustomizeMoveTarget (this UIKit.IUITableViewDelegate This, UIKit.UITableView tableView, Foundation.NSIndexPath sourceIndexPath, Foundation.NSIndexPath proposedIndexPath);
static member CustomizeMoveTarget : UIKit.IUITableViewDelegate * UIKit.UITableView * Foundation.NSIndexPath * Foundation.NSIndexPath -> Foundation.NSIndexPath

Parameters

This
IUITableViewDelegate IUITableViewDelegate

The instance on which this extension method operates.

tableView
UITableView UITableView

Table view containing the row to be moved.

sourceIndexPath
NSIndexPath NSIndexPath

The original location of the row being moved.

proposedIndexPath
NSIndexPath NSIndexPath

The location in the table view where the row has been dropped. The location can be altered by this method.

Returns

Applies to