iOS Guides | Samples

UIKit.UICollectionViewDropDelegate_Extensions Class

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

See Also: UICollectionViewDropDelegate_Extensions

Syntax

public static class 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.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0

The members of UIKit.UICollectionViewDropDelegate_Extensions are listed below.

See Also: Object

Public Methods

static
CanHandleDropSession(this IUICollectionViewDropDelegate, UICollectionView, IUIDropSession) : Boolean
Returns a Boolean value that tells whether the collection view can handle drops from the data in the session.
static
DropSessionDidEnd(this IUICollectionViewDropDelegate, UICollectionView, IUIDropSession)
Method that is called when the drop session ends.
static
DropSessionDidEnter(this IUICollectionViewDropDelegate, UICollectionView, IUIDropSession)
Method that is called when the drop point enters the collection view.
static
DropSessionDidExit(this IUICollectionViewDropDelegate, UICollectionView, IUIDropSession)
Method that is called when the drop point leaves the collection view.
static
DropSessionDidUpdate(this IUICollectionViewDropDelegate, UICollectionView, IUIDropSession, NSIndexPath) : UICollectionViewDropProposal
Method that is called when the drop point over the collection view changes.
static
GetDropPreviewParameters(this IUICollectionViewDropDelegate, UICollectionView, NSIndexPath) : UIDragPreviewParameters
Returns the drag preview parameters for the item at the specified index path.