Compartir a través de


UICollectionViewDragDelegate.GetItemsForAddingToDragSession Método

Definición

Agrega los elementos en la ruta de acceso del índice a la sesión de arrastre.

[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[]

Parámetros

collectionView
UICollectionView

Vista de colección de origen.

session
IUIDragSession

Sesión de arrastre a la que se van a agregar elementos.

indexPath
NSIndexPath

Ruta de acceso de índice al elemento que se va a agregar.

point
CGPoint

Punto en el que el usuario tocó, en el espacio de coordenadas de la vista de colección.

Devoluciones

Atributos

Se aplica a