Freigeben über


UICollectionViewDragDelegate.GetItemsForAddingToDragSession Methode

Definition

Fügt die Elemente im Indexpfad der Ziehsitzung hinzu.

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

Parameter

collectionView
UICollectionView

Die ursprüngliche Auflistungsansicht.

session
IUIDragSession

Die Ziehsitzung, der Elemente hinzugefügt werden sollen.

indexPath
NSIndexPath

Der Indexpfad zum hinzuzufügenden Element.

point
CGPoint

Der Punkt, den der Benutzer im Koordinatenbereich der Auflistungsansicht berührt hat.

Gibt zurück

Attribute

Gilt für: