共用方式為


IUICollectionViewDropCoordinator 介面

定義

系統建立的物件,用來與集合檢視協調置放動作。

[Foundation.Protocol(Name="UICollectionViewDropCoordinator", WrapperType=typeof(UIKit.UICollectionViewDropCoordinatorWrapper))]
[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 IUICollectionViewDropCoordinator : IDisposable, ObjCRuntime.INativeObject
type IUICollectionViewDropCoordinator = interface
    interface INativeObject
    interface IDisposable
屬性
實作

屬性

DestinationIndexPath

取得插入的索引路徑。

Handle

處理非受控物件標記法) (指標。

(繼承來源 INativeObject)
Items

取得拖曳專案。

Proposal

取得置放提案。

Session

取得卸載會話。

方法

DropItemIntoItem(UIDragItem, NSIndexPath, CGRect)

將拖曳專案放在指定之矩形的指定矩形中,位於指定之專案索引路徑的專案座標系統中。

DropItemToItem(UIDragItem, NSIndexPath)

將拖曳專案放在指定之專案索引路徑的專案中。

DropItemToPlaceholder(UIDragItem, UICollectionViewDropPlaceholder)

將拖曳專案拖放至指定的預留位置。

DropItemToTarget(UIDragItem, UIDragPreviewTarget)

將拖曳專案卸載至指定的目標。

適用於