Edit

Share via


UICollectionViewDropDelegate_Extensions Class

Definition

Extension methods to the IUICollectionViewDropDelegate interface to support all the methods from the UICollectionViewDropDelegate protocol.

public static class UICollectionViewDropDelegate_Extensions
type UICollectionViewDropDelegate_Extensions = class
Inheritance
UICollectionViewDropDelegate_Extensions

Remarks

The extension methods for IUICollectionViewDropDelegate allow developers to treat instances of the interface as having all the optional methods of the original UICollectionViewDropDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

CanHandleDropSession(IUICollectionViewDropDelegate, UICollectionView, IUIDropSession)

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

DropSessionDidEnd(IUICollectionViewDropDelegate, UICollectionView, IUIDropSession)

Method that is called when the drop session ends.

DropSessionDidEnter(IUICollectionViewDropDelegate, UICollectionView, IUIDropSession)

Method that is called when the drop point enters the collection view.

DropSessionDidExit(IUICollectionViewDropDelegate, UICollectionView, IUIDropSession)

Method that is called when the drop point leaves the collection view.

DropSessionDidUpdate(IUICollectionViewDropDelegate, UICollectionView, IUIDropSession, NSIndexPath)

Method that is called when the drop point over the collection view changes.

GetDropPreviewParameters(IUICollectionViewDropDelegate, UICollectionView, NSIndexPath)

Returns the drag preview parameters for the item at the specified index path.

Applies to