Sdílet prostřednictvím


UICollectionViewDragDelegate.GetDragPreviewParameters Method

Definition

Gets the preview parameters for the item at the specified index path.

[Foundation.Export("collectionView:dragPreviewParametersForItemAtIndexPath:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.UIDragPreviewParameters? GetDragPreviewParameters(UIKit.UICollectionView collectionView, Foundation.NSIndexPath indexPath);
[<Foundation.Export("collectionView:dragPreviewParametersForItemAtIndexPath:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetDragPreviewParameters : UIKit.UICollectionView * Foundation.NSIndexPath -> UIKit.UIDragPreviewParameters
override this.GetDragPreviewParameters : UIKit.UICollectionView * Foundation.NSIndexPath -> UIKit.UIDragPreviewParameters

Parameters

collectionView
UICollectionView
indexPath
NSIndexPath

Returns

Implements

Attributes

Applies to