Düzenle

Aracılığıyla paylaş


UICollectionViewDragDelegate.GetItemsForAddingToDragSession Method

Definition

Adds the items at the index path to the drag session.

[Foundation.Export("collectionView:itemsForAddingToDragSession:atIndexPath:point:")]
public virtual UIKit.UIDragItem[] GetItemsForAddingToDragSession (UIKit.UICollectionView collectionView, UIKit.IUIDragSession session, Foundation.NSIndexPath indexPath, CoreGraphics.CGPoint point);
abstract member GetItemsForAddingToDragSession : UIKit.UICollectionView * UIKit.IUIDragSession * Foundation.NSIndexPath * CoreGraphics.CGPoint -> UIKit.UIDragItem[]
override this.GetItemsForAddingToDragSession : UIKit.UICollectionView * UIKit.IUIDragSession * Foundation.NSIndexPath * CoreGraphics.CGPoint -> UIKit.UIDragItem[]

Parameters

collectionView
UICollectionView

The originating collection view.

session
IUIDragSession

The drag session to which to add items.

indexPath
NSIndexPath

The index path to the item to add.

point
CGPoint

The point that the user touched, in the collection view coordinate space.

Returns

Attributes

Applies to