Edytuj

Udostępnij za pośrednictwem


IUICollectionViewDropDelegate Interface

Definition

Interface representing the required methods (if any) of the protocol UICollectionViewDropDelegate.

[Foundation.Protocol(Name="UICollectionViewDropDelegate", WrapperType=typeof(UIKit.UICollectionViewDropDelegateWrapper))]
[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 IUICollectionViewDropDelegate : IDisposable, ObjCRuntime.INativeObject
type IUICollectionViewDropDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by UICollectionViewDropDelegate.

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 UICollectionViewDropDelegate protocol.

Optional methods (if any) are provided by the UICollectionViewDropDelegate_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

PerformDrop(UICollectionView, IUICollectionViewDropCoordinator)

Method that is called to drop data into a collection view.

Extension 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