IUITableViewDropDelegate 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 table views.
[Foundation.Protocol(Name="UITableViewDropDelegate", WrapperType=typeof(UIKit.UITableViewDropDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="PerformDrop", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITableView), typeof(UIKit.IUITableViewDropCoordinator) }, Selector="tableView:performDropWithCoordinator:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="CanHandleDropSession", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITableView), typeof(UIKit.IUIDropSession) }, ReturnType=typeof(System.Boolean), Selector="tableView:canHandleDropSession:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DropSessionDidEnter", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITableView), typeof(UIKit.IUIDropSession) }, Selector="tableView:dropSessionDidEnter:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DropSessionDidUpdate", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITableView), typeof(UIKit.IUIDropSession), typeof(Foundation.NSIndexPath) }, ReturnType=typeof(UIKit.UITableViewDropProposal), Selector="tableView:dropSessionDidUpdate:withDestinationIndexPath:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DropSessionDidExit", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITableView), typeof(UIKit.IUIDropSession) }, Selector="tableView:dropSessionDidExit:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DropSessionDidEnd", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITableView), typeof(UIKit.IUIDropSession) }, Selector="tableView:dropSessionDidEnd:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetDropPreviewParameters", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITableView), typeof(Foundation.NSIndexPath) }, ReturnType=typeof(UIKit.UIDragPreviewParameters), Selector="tableView:dropPreviewParametersForRowAtIndexPath:")]
public interface IUITableViewDropDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="UITableViewDropDelegate", WrapperType=typeof(UIKit.UITableViewDropDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="PerformDrop", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITableView), typeof(UIKit.IUITableViewDropCoordinator) }, Selector="tableView:performDropWithCoordinator:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="CanHandleDropSession", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITableView), typeof(UIKit.IUIDropSession) }, ReturnType=typeof(System.Boolean), Selector="tableView:canHandleDropSession:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DropSessionDidEnter", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITableView), typeof(UIKit.IUIDropSession) }, Selector="tableView:dropSessionDidEnter:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DropSessionDidUpdate", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITableView), typeof(UIKit.IUIDropSession), typeof(Foundation.NSIndexPath) }, ReturnType=typeof(UIKit.UITableViewDropProposal), Selector="tableView:dropSessionDidUpdate:withDestinationIndexPath:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DropSessionDidExit", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITableView), typeof(UIKit.IUIDropSession) }, Selector="tableView:dropSessionDidExit:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DropSessionDidEnd", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITableView), typeof(UIKit.IUIDropSession) }, Selector="tableView:dropSessionDidEnd:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetDropPreviewParameters", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITableView), typeof(Foundation.NSIndexPath) }, ReturnType=typeof(UIKit.UIDragPreviewParameters), Selector="tableView:dropPreviewParametersForRowAtIndexPath:")>]
type IUITableViewDropDelegate = 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(UITableView, IUIDropSession) |
Returns a Boolean value that tells whether the table view can handle drops from the data in the session. |
| DropSessionDidEnd(UITableView, IUIDropSession) |
Method that is called when the drop session ends. |
| DropSessionDidEnter(UITableView, IUIDropSession) |
Method that is called when the drop point enters the table view. |
| DropSessionDidExit(UITableView, IUIDropSession) |
Method that is called when the drop point leaves the table view. |
| DropSessionDidUpdate(UITableView, IUIDropSession, NSIndexPath) |
Method that is called when the drop point over the table view changes. |
| GetDropPreviewParameters(UITableView, NSIndexPath) |
Returns the drag preview parameters for the item at the specified index path. |
| PerformDrop(UITableView, IUITableViewDropCoordinator) |
Method that is called to drop data into a table view. |
Extension Methods
| Name | Description |
|---|---|
| GetHandle(INativeObject) | |
| GetNonNullHandle(INativeObject, String) | |
| CanHandleDropSession(IUITableViewDropDelegate, UITableView, IUIDropSession) |
Returns a Boolean value that tells whether the table view can handle drops from the data in the session. |
| DropSessionDidEnd(IUITableViewDropDelegate, UITableView, IUIDropSession) |
Method that is called when the drop session ends. |
| DropSessionDidEnter(IUITableViewDropDelegate, UITableView, IUIDropSession) |
Method that is called when the drop point enters the table view. |
| DropSessionDidExit(IUITableViewDropDelegate, UITableView, IUIDropSession) |
Method that is called when the drop point leaves the table view. |
| DropSessionDidUpdate(IUITableViewDropDelegate, UITableView, IUIDropSession, NSIndexPath) |
Method that is called when the drop point over the table view changes. |
| GetDropPreviewParameters(IUITableViewDropDelegate, UITableView, NSIndexPath) |
Returns the drag preview parameters for the item at the specified index path. |