UICollectionViewDragDelegate.GetItemsForAddingToDragSession Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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