Modifica

Condividi tramite


UICollectionViewDragDelegate_Extensions.GetItemsForAddingToDragSession Method

Definition

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

public static UIKit.UIDragItem[] GetItemsForAddingToDragSession (this UIKit.IUICollectionViewDragDelegate This, UIKit.UICollectionView collectionView, UIKit.IUIDragSession session, Foundation.NSIndexPath indexPath, CoreGraphics.CGPoint point);
static member GetItemsForAddingToDragSession : UIKit.IUICollectionViewDragDelegate * UIKit.UICollectionView * UIKit.IUIDragSession * Foundation.NSIndexPath * CoreGraphics.CGPoint -> UIKit.UIDragItem[]

Parameters

This
IUICollectionViewDragDelegate

The instance on which this extension method operates.

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

Applies to