Share via


UICollectionViewDragDelegate.GetItemsForBeginningDragSession Method

Definition

Returns the items that were used to begin the drag operation, if present.

[Foundation.Export("collectionView:itemsForBeginningDragSession:atIndexPath:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.UIDragItem[] GetItemsForBeginningDragSession(UIKit.UICollectionView collectionView, UIKit.IUIDragSession session, Foundation.NSIndexPath indexPath);
[<Foundation.Export("collectionView:itemsForBeginningDragSession:atIndexPath:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetItemsForBeginningDragSession : UIKit.UICollectionView * UIKit.IUIDragSession * Foundation.NSIndexPath -> UIKit.UIDragItem[]
override this.GetItemsForBeginningDragSession : UIKit.UICollectionView * UIKit.IUIDragSession * Foundation.NSIndexPath -> 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.

Returns

Implements

Attributes

Applies to