편집

다음을 통해 공유


UITableViewDragDelegate_Extensions Class

Definition

Extension methods to the IUITableViewDragDelegate interface to support all the methods from the UITableViewDragDelegate protocol.

public static class UITableViewDragDelegate_Extensions
type UITableViewDragDelegate_Extensions = class
Inheritance
UITableViewDragDelegate_Extensions

Remarks

The extension methods for IUITableViewDragDelegate allow developers to treat instances of the interface as having all the optional methods of the original UITableViewDragDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

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