Upravit

Sdílet prostřednictvím


UITableViewDelegate_Extensions.CustomizeMoveTarget 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

The instance on which this extension method operates.

tableView
UITableView

Table view containing the row to be moved.

sourceIndexPath
NSIndexPath

The original location of the row being moved.

proposedIndexPath
NSIndexPath

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

Returns

Applies to