Share via


IUICollectionViewDropCoordinator Interface

Definition

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

[Foundation.Protocol(Name="UICollectionViewDropCoordinator", WrapperType=typeof(UIKit.UICollectionViewDropCoordinatorWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DropItemToPlaceholder", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDragItem), typeof(UIKit.UICollectionViewDropPlaceholder) }, ReturnType=typeof(UIKit.IUICollectionViewDropPlaceholderContext), Selector="dropItem:toPlaceholder:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DropItemToItem", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDragItem), typeof(Foundation.NSIndexPath) }, ReturnType=typeof(UIKit.IUIDragAnimating), Selector="dropItem:toItemAtIndexPath:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DropItemIntoItem", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDragItem), typeof(Foundation.NSIndexPath), typeof(CoreGraphics.CGRect) }, ReturnType=typeof(UIKit.IUIDragAnimating), Selector="dropItem:intoItemAtIndexPath:rect:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DropItemToTarget", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDragItem), typeof(UIKit.UIDragPreviewTarget) }, ReturnType=typeof(UIKit.IUIDragAnimating), Selector="dropItem:toTarget:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="items", IsProperty=true, IsRequired=true, IsStatic=false, Name="Items", PropertyType=typeof(UIKit.IUICollectionViewDropItem[]), Selector="items")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="destinationIndexPath", IsProperty=true, IsRequired=true, IsStatic=false, Name="DestinationIndexPath", PropertyType=typeof(Foundation.NSIndexPath), Selector="destinationIndexPath")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="proposal", IsProperty=true, IsRequired=true, IsStatic=false, Name="Proposal", PropertyType=typeof(UIKit.UICollectionViewDropProposal), Selector="proposal")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="session", IsProperty=true, IsRequired=true, IsStatic=false, Name="Session", PropertyType=typeof(UIKit.IUIDropSession), Selector="session")]
public interface IUICollectionViewDropCoordinator : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="UICollectionViewDropCoordinator", WrapperType=typeof(UIKit.UICollectionViewDropCoordinatorWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DropItemToPlaceholder", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDragItem), typeof(UIKit.UICollectionViewDropPlaceholder) }, ReturnType=typeof(UIKit.IUICollectionViewDropPlaceholderContext), Selector="dropItem:toPlaceholder:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DropItemToItem", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDragItem), typeof(Foundation.NSIndexPath) }, ReturnType=typeof(UIKit.IUIDragAnimating), Selector="dropItem:toItemAtIndexPath:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DropItemIntoItem", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDragItem), typeof(Foundation.NSIndexPath), typeof(CoreGraphics.CGRect) }, ReturnType=typeof(UIKit.IUIDragAnimating), Selector="dropItem:intoItemAtIndexPath:rect:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DropItemToTarget", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDragItem), typeof(UIKit.UIDragPreviewTarget) }, ReturnType=typeof(UIKit.IUIDragAnimating), Selector="dropItem:toTarget:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="items", IsProperty=true, IsRequired=true, IsStatic=false, Name="Items", PropertyType=typeof(UIKit.IUICollectionViewDropItem[]), Selector="items")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="destinationIndexPath", IsProperty=true, IsRequired=true, IsStatic=false, Name="DestinationIndexPath", PropertyType=typeof(Foundation.NSIndexPath), Selector="destinationIndexPath")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="proposal", IsProperty=true, IsRequired=true, IsStatic=false, Name="Proposal", PropertyType=typeof(UIKit.UICollectionViewDropProposal), Selector="proposal")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="session", IsProperty=true, IsRequired=true, IsStatic=false, Name="Session", PropertyType=typeof(UIKit.IUIDropSession), Selector="session")>]
type IUICollectionViewDropCoordinator = interface
    interface INativeObject
    interface IDisposable
Attributes
Implements

Properties

Name Description
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

Name Description
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.

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to