編輯

共用方式為


UICollectionViewDropDelegate.DropSessionDidUpdate Method

Definition

Method that is called when the drop point over the collection view changes.

[Foundation.Export("collectionView:dropSessionDidUpdate:withDestinationIndexPath:")]
public virtual UIKit.UICollectionViewDropProposal DropSessionDidUpdate (UIKit.UICollectionView collectionView, UIKit.IUIDropSession session, Foundation.NSIndexPath destinationIndexPath);
abstract member DropSessionDidUpdate : UIKit.UICollectionView * UIKit.IUIDropSession * Foundation.NSIndexPath -> UIKit.UICollectionViewDropProposal
override this.DropSessionDidUpdate : UIKit.UICollectionView * UIKit.IUIDropSession * Foundation.NSIndexPath -> UIKit.UICollectionViewDropProposal

Parameters

collectionView
UICollectionView

The originating collection view.

session
IUIDropSession

The drop session.

destinationIndexPath
NSIndexPath

The index path where the content would be dropped if it were dropped at the time of the method call.

This parameter can be null.

Returns

Attributes

Applies to