Share via


UICollectionViewDropDelegate.CanHandleDropSession Method

Definition

Returns a Boolean value that tells whether the collection view can handle drops from the data in the session.

[Foundation.Export("collectionView:canHandleDropSession:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool CanHandleDropSession(UIKit.UICollectionView collectionView, UIKit.IUIDropSession session);
[<Foundation.Export("collectionView:canHandleDropSession:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CanHandleDropSession : UIKit.UICollectionView * UIKit.IUIDropSession -> bool
override this.CanHandleDropSession : UIKit.UICollectionView * UIKit.IUIDropSession -> bool

Parameters

collectionView
UICollectionView

The collection view to query.

session
IUIDropSession

The drop session with the drag type data.

Returns

Implements

Attributes

Applies to