次の方法で共有


UIDragInteractionDelegate_Extensions.GetPreviewForCancellingItem メソッド

定義

ユーザーがドラッグ セッションをキャンセルしたときに、ドラッグ セッションで表示されている各項目に対して呼び出されるメソッド。

public static UIKit.UITargetedDragPreview GetPreviewForCancellingItem(this UIKit.IUIDragInteractionDelegate This, UIKit.UIDragInteraction interaction, UIKit.UIDragItem item, UIKit.UITargetedDragPreview defaultPreview);
static member GetPreviewForCancellingItem : UIKit.IUIDragInteractionDelegate * UIKit.UIDragInteraction * UIKit.UIDragItem * UIKit.UITargetedDragPreview -> UIKit.UITargetedDragPreview

パラメーター

This
IUIDragInteractionDelegate

この拡張メソッドが動作するインスタンス。

interaction
UIDragInteraction

要求を行っている操作。

item
UIDragItem

プレビューを取得するアイテム。

defaultPreview
UITargetedDragPreview

項目の既定のドラッグ プレビュー。

戻り値

適用対象