Share via


UITableViewDelegate.CustomizeMoveTarget Method

Definition

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

[Foundation.Export("tableView:targetIndexPathForMoveFromRowAtIndexPath:toProposedIndexPath:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSIndexPath CustomizeMoveTarget(UIKit.UITableView tableView, Foundation.NSIndexPath sourceIndexPath, Foundation.NSIndexPath proposedIndexPath);
[<Foundation.Export("tableView:targetIndexPathForMoveFromRowAtIndexPath:toProposedIndexPath:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CustomizeMoveTarget : UIKit.UITableView * Foundation.NSIndexPath * Foundation.NSIndexPath -> Foundation.NSIndexPath
override this.CustomizeMoveTarget : UIKit.UITableView * Foundation.NSIndexPath * Foundation.NSIndexPath -> Foundation.NSIndexPath

Parameters

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

Implements

Attributes

Applies to