Edytuj

Udostępnij za pośrednictwem


IUITableViewDragDelegate Interface

Definition

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

[Foundation.Protocol(Name="UITableViewDragDelegate", WrapperType=typeof(UIKit.UITableViewDragDelegateWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IUITableViewDragDelegate : IDisposable, ObjCRuntime.INativeObject
type IUITableViewDragDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

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.

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

GetItemsForBeginningDragSession(UITableView, IUIDragSession, NSIndexPath)

Returns a list of any items that are present at the beginning of a drag session.

Extension Methods

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.

Applies to