IUICollectionViewDragDelegate Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Interface representing the required methods (if any) of the protocol UICollectionViewDragDelegate.
[Foundation.Protocol(Name="UICollectionViewDragDelegate", WrapperType=typeof(UIKit.UICollectionViewDragDelegateWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IUICollectionViewDragDelegate : IDisposable, ObjCRuntime.INativeObject
type IUICollectionViewDragDelegate = interface
interface INativeObject
interface IDisposable
- Derived
- Attributes
- Implements
Remarks
This interface contains the required methods (if any) from the protocol defined by UICollectionViewDragDelegate.
If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the UICollectionViewDragDelegate protocol.
Optional methods (if any) are provided by the UICollectionViewDragDelegate_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.
Properties
Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from INativeObject) |
Methods
GetItemsForBeginningDragSession(UICollectionView, IUIDragSession, NSIndexPath) |
Returns the items that were used to begin the drag operation, if present. |
Extension 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. |