Modifier

Partager via


UICollectionViewDragDelegate_Extensions Class

Definition

Extension methods to the IUICollectionViewDragDelegate interface to support all the methods from the UICollectionViewDragDelegate protocol.

public static class UICollectionViewDragDelegate_Extensions
type UICollectionViewDragDelegate_Extensions = class
Inheritance
UICollectionViewDragDelegate_Extensions

Remarks

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

Methods

DragSessionAllowsMoveOperation(IUICollectionViewDragDelegate, UICollectionView, IUIDragSession)
DragSessionDidEnd(IUICollectionViewDragDelegate, UICollectionView, IUIDragSession)

Method that is called when the user cancels or completes the drag session.

DragSessionIsRestrictedToDraggingApplication(IUICollectionViewDragDelegate, UICollectionView, IUIDragSession)
DragSessionWillBegin(IUICollectionViewDragDelegate, UICollectionView, IUIDragSession)

Method that is called just before a drag session begins.

GetDragPreviewParameters(IUICollectionViewDragDelegate, UICollectionView, NSIndexPath)

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

GetItemsForAddingToDragSession(IUICollectionViewDragDelegate, UICollectionView, IUIDragSession, NSIndexPath, CGPoint)

Adds the items at the index path to the drag session.

Applies to