UICollectionViewDragDelegate_Extensions.GetItemsForAddingToDragSession(IUICollectionViewDragDelegate, UICollectionView, IUIDragSession, NSIndexPath, CGPoint) UICollectionViewDragDelegate_Extensions.GetItemsForAddingToDragSession(IUICollectionViewDragDelegate, UICollectionView, IUIDragSession, NSIndexPath, CGPoint) 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 IUICollectionViewDragDelegate

The instance on which this extension method operates.

collectionView
UICollectionView UICollectionView

The originating collection view.

session
IUIDragSession IUIDragSession

The drag session to which to add items.

indexPath
NSIndexPath NSIndexPath

The index path to the item to add.

point
CGPoint CGPoint

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

Returns

Applies to