iOS Guides | Samples

UIKit.IUITableViewDragDelegate

Interface representing the required methods (if any) of the protocol UITableViewDragDelegate.

See Also: IUITableViewDragDelegate

Syntax

[Foundation.Protocol(Name="UITableViewDragDelegate", WrapperType=typeof(UIKit.UITableViewDragDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetItemsForBeginningDragSession", ParameterByRef=Mono.Cecil.CustomAttributeArgument[], ParameterType=Mono.Cecil.CustomAttributeArgument[], ReturnType=typeof(UIKit.UIDragItem[]), Selector="tableView:itemsForBeginningDragSession:atIndexPath:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetItemsForAddingToDragSession", ParameterByRef=Mono.Cecil.CustomAttributeArgument[], ParameterType=Mono.Cecil.CustomAttributeArgument[], ReturnType=typeof(UIKit.UIDragItem[]), Selector="tableView:itemsForAddingToDragSession:atIndexPath:point:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetDragPreviewParameters", ParameterByRef=Mono.Cecil.CustomAttributeArgument[], ParameterType=Mono.Cecil.CustomAttributeArgument[], ReturnType=typeof(UIKit.UIDragPreviewParameters), Selector="tableView:dragPreviewParametersForRowAtIndexPath:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DragSessionWillBegin", ParameterByRef=Mono.Cecil.CustomAttributeArgument[], ParameterType=Mono.Cecil.CustomAttributeArgument[], Selector="tableView:dragSessionWillBegin:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DragSessionDidEnd", ParameterByRef=Mono.Cecil.CustomAttributeArgument[], ParameterType=Mono.Cecil.CustomAttributeArgument[], Selector="tableView:dragSessionDidEnd:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DragSessionAllowsMoveOperation", ParameterByRef=Mono.Cecil.CustomAttributeArgument[], ParameterType=Mono.Cecil.CustomAttributeArgument[], ReturnType=typeof(System.Boolean), Selector="tableView:dragSessionAllowsMoveOperation:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DragSessionIsRestrictedToDraggingApplication", ParameterByRef=Mono.Cecil.CustomAttributeArgument[], ParameterType=Mono.Cecil.CustomAttributeArgument[], ReturnType=typeof(System.Boolean), Selector="tableView:dragSessionIsRestrictedToDraggingApplication:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IUITableViewDragDelegate : INativeObject, IDisposable

Remarks

This interface contains the required methods (if any) from the protocol defined by UITableViewDragDelegate.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the UITableViewDragDelegate protocol.

Optional methods (if any) are provided by the UITableViewDragDelegate_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0

The members of UIKit.IUITableViewDragDelegate are listed below.

Public Methods

GetItemsForBeginningDragSession(UITableView, IUIDragSession, NSIndexPath) : UIDragItem[]
Returns a list of any items that are present at the beginning of a drag session.