IUITableViewDragDelegate 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.
Interface for a drag operation that started from a table view.
[Foundation.Protocol(Name="UITableViewDragDelegate", WrapperType=typeof(UIKit.UITableViewDragDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetItemsForBeginningDragSession", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITableView), typeof(UIKit.IUIDragSession), typeof(Foundation.NSIndexPath) }, ReturnType=typeof(UIKit.UIDragItem[]), Selector="tableView:itemsForBeginningDragSession:atIndexPath:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetItemsForAddingToDragSession", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITableView), typeof(UIKit.IUIDragSession), typeof(Foundation.NSIndexPath), typeof(CoreGraphics.CGPoint) }, ReturnType=typeof(UIKit.UIDragItem[]), Selector="tableView:itemsForAddingToDragSession:atIndexPath:point:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetDragPreviewParameters", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITableView), typeof(Foundation.NSIndexPath) }, ReturnType=typeof(UIKit.UIDragPreviewParameters), Selector="tableView:dragPreviewParametersForRowAtIndexPath:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DragSessionWillBegin", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITableView), typeof(UIKit.IUIDragSession) }, Selector="tableView:dragSessionWillBegin:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DragSessionDidEnd", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITableView), typeof(UIKit.IUIDragSession) }, Selector="tableView:dragSessionDidEnd:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DragSessionAllowsMoveOperation", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITableView), typeof(UIKit.IUIDragSession) }, ReturnType=typeof(System.Boolean), Selector="tableView:dragSessionAllowsMoveOperation:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DragSessionIsRestrictedToDraggingApplication", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITableView), typeof(UIKit.IUIDragSession) }, ReturnType=typeof(System.Boolean), Selector="tableView:dragSessionIsRestrictedToDraggingApplication:")]
public interface IUITableViewDragDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="UITableViewDragDelegate", WrapperType=typeof(UIKit.UITableViewDragDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetItemsForBeginningDragSession", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITableView), typeof(UIKit.IUIDragSession), typeof(Foundation.NSIndexPath) }, ReturnType=typeof(UIKit.UIDragItem[]), Selector="tableView:itemsForBeginningDragSession:atIndexPath:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetItemsForAddingToDragSession", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITableView), typeof(UIKit.IUIDragSession), typeof(Foundation.NSIndexPath), typeof(CoreGraphics.CGPoint) }, ReturnType=typeof(UIKit.UIDragItem[]), Selector="tableView:itemsForAddingToDragSession:atIndexPath:point:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetDragPreviewParameters", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITableView), typeof(Foundation.NSIndexPath) }, ReturnType=typeof(UIKit.UIDragPreviewParameters), Selector="tableView:dragPreviewParametersForRowAtIndexPath:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DragSessionWillBegin", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITableView), typeof(UIKit.IUIDragSession) }, Selector="tableView:dragSessionWillBegin:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DragSessionDidEnd", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITableView), typeof(UIKit.IUIDragSession) }, Selector="tableView:dragSessionDidEnd:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DragSessionAllowsMoveOperation", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITableView), typeof(UIKit.IUIDragSession) }, ReturnType=typeof(System.Boolean), Selector="tableView:dragSessionAllowsMoveOperation:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DragSessionIsRestrictedToDraggingApplication", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UITableView), typeof(UIKit.IUIDragSession) }, ReturnType=typeof(System.Boolean), Selector="tableView:dragSessionIsRestrictedToDraggingApplication:")>]
type IUITableViewDragDelegate = 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 |
|---|---|
| DragSessionAllowsMoveOperation(UITableView, IUIDragSession) |
Whether the drag session can move items within the developer's app. |
| DragSessionDidEnd(UITableView, IUIDragSession) |
Method that is called when the user cancels or completes the drag session. |
| DragSessionIsRestrictedToDraggingApplication(UITableView, IUIDragSession) |
Gets whether the drag session may only act within the developer's app. |
| DragSessionWillBegin(UITableView, IUIDragSession) |
Method that is called just before a drag session begins. |
| GetDragPreviewParameters(UITableView, NSIndexPath) |
Gets the preview parameters for the item at the specified index path. |
| GetItemsForAddingToDragSession(UITableView, IUIDragSession, NSIndexPath, CGPoint) |
Adds the items at the index path to the drag session. |
| GetItemsForBeginningDragSession(UITableView, IUIDragSession, NSIndexPath) |
Returns a list of any items that are present at the beginning of a drag session. |
Extension Methods
| Name | Description |
|---|---|
| GetHandle(INativeObject) | |
| GetNonNullHandle(INativeObject, String) | |
| DragSessionAllowsMoveOperation(IUITableViewDragDelegate, UITableView, IUIDragSession) |
Whether the drag session can move items within the developer's app. |
| DragSessionDidEnd(IUITableViewDragDelegate, UITableView, IUIDragSession) |
Method that is called when the user cancels or completes the drag session. |
| DragSessionIsRestrictedToDraggingApplication(IUITableViewDragDelegate, UITableView, IUIDragSession) |
Gets whether the drag session may only act within the developer's app. |
| DragSessionWillBegin(IUITableViewDragDelegate, UITableView, IUIDragSession) |
Method that is called just before a drag session begins. |
| GetDragPreviewParameters(IUITableViewDragDelegate, UITableView, NSIndexPath) |
Gets the preview parameters for the item at the specified index path. |
| GetItemsForAddingToDragSession(IUITableViewDragDelegate, UITableView, IUIDragSession, NSIndexPath, CGPoint) |
Adds the items at the index path to the drag session. |