IUICollectionViewDropDelegate 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.
Delegate for handling drops to collection views.
[Foundation.Protocol(Name="UICollectionViewDropDelegate", WrapperType=typeof(UIKit.UICollectionViewDropDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="PerformDrop", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UICollectionView), typeof(UIKit.IUICollectionViewDropCoordinator) }, Selector="collectionView:performDropWithCoordinator:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="CanHandleDropSession", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UICollectionView), typeof(UIKit.IUIDropSession) }, ReturnType=typeof(System.Boolean), Selector="collectionView:canHandleDropSession:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DropSessionDidEnter", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UICollectionView), typeof(UIKit.IUIDropSession) }, Selector="collectionView:dropSessionDidEnter:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DropSessionDidUpdate", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UICollectionView), typeof(UIKit.IUIDropSession), typeof(Foundation.NSIndexPath) }, ReturnType=typeof(UIKit.UICollectionViewDropProposal), Selector="collectionView:dropSessionDidUpdate:withDestinationIndexPath:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DropSessionDidExit", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UICollectionView), typeof(UIKit.IUIDropSession) }, Selector="collectionView:dropSessionDidExit:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DropSessionDidEnd", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UICollectionView), typeof(UIKit.IUIDropSession) }, Selector="collectionView:dropSessionDidEnd:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetDropPreviewParameters", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UICollectionView), typeof(Foundation.NSIndexPath) }, ReturnType=typeof(UIKit.UIDragPreviewParameters), Selector="collectionView:dropPreviewParametersForItemAtIndexPath:")]
public interface IUICollectionViewDropDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="UICollectionViewDropDelegate", WrapperType=typeof(UIKit.UICollectionViewDropDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="PerformDrop", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UICollectionView), typeof(UIKit.IUICollectionViewDropCoordinator) }, Selector="collectionView:performDropWithCoordinator:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="CanHandleDropSession", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UICollectionView), typeof(UIKit.IUIDropSession) }, ReturnType=typeof(System.Boolean), Selector="collectionView:canHandleDropSession:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DropSessionDidEnter", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UICollectionView), typeof(UIKit.IUIDropSession) }, Selector="collectionView:dropSessionDidEnter:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DropSessionDidUpdate", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UICollectionView), typeof(UIKit.IUIDropSession), typeof(Foundation.NSIndexPath) }, ReturnType=typeof(UIKit.UICollectionViewDropProposal), Selector="collectionView:dropSessionDidUpdate:withDestinationIndexPath:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DropSessionDidExit", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UICollectionView), typeof(UIKit.IUIDropSession) }, Selector="collectionView:dropSessionDidExit:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DropSessionDidEnd", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UICollectionView), typeof(UIKit.IUIDropSession) }, Selector="collectionView:dropSessionDidEnd:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetDropPreviewParameters", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UICollectionView), typeof(Foundation.NSIndexPath) }, ReturnType=typeof(UIKit.UIDragPreviewParameters), Selector="collectionView:dropPreviewParametersForItemAtIndexPath:")>]
type IUICollectionViewDropDelegate = interface
interface INativeObject
interface IDisposable
- Derived
- Attributes
- Implements
Properties
| Name | Description |
|---|---|
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from INativeObject) |
Methods
| Name | Description |
|---|---|
| CanHandleDropSession(UICollectionView, IUIDropSession) |
Returns a Boolean value that tells whether the collection view can handle drops from the data in the session. |
| DropSessionDidEnd(UICollectionView, IUIDropSession) |
Method that is called when the drop session ends. |
| DropSessionDidEnter(UICollectionView, IUIDropSession) |
Method that is called when the drop point enters the collection view. |
| DropSessionDidExit(UICollectionView, IUIDropSession) |
Method that is called when the drop point leaves the collection view. |
| DropSessionDidUpdate(UICollectionView, IUIDropSession, NSIndexPath) |
Method that is called when the drop point over the collection view changes. |
| GetDropPreviewParameters(UICollectionView, NSIndexPath) |
Returns the drag preview parameters for the item at the specified index path. |
| PerformDrop(UICollectionView, IUICollectionViewDropCoordinator) |
Method that is called to drop data into a collection view. |