Szerkesztés

Megosztás a következőn keresztül:


IUICollectionViewDropCoordinator Interface

Definition

System-created object used to coordinate drop actions with a collection view.

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

Properties

DestinationIndexPath

Gets the index path for the insertion.

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
Items

Gets the drag items.

Proposal

Gets the drop proposal.

Session

Gets the drop session.

Methods

DropItemIntoItem(UIDragItem, NSIndexPath, CGRect)

Drops the drag item into the specified rectangle, in the coordinate system of the item at the specified item index path.

DropItemToItem(UIDragItem, NSIndexPath)

Drops the drag item into the item at the specified item index path.

DropItemToPlaceholder(UIDragItem, UICollectionViewDropPlaceholder)

Drops the drag item to the specified placeholder.

DropItemToTarget(UIDragItem, UIDragPreviewTarget)

Drops the drag item to the specified target.

Applies to