NSCollectionViewDelegate_Extensions.AcceptDrop 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
AcceptDrop(INSCollectionViewDelegate, NSCollectionView, NSDraggingInfo, NSIndexPath, NSCollectionViewDropOperation)
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public static bool AcceptDrop (this AppKit.INSCollectionViewDelegate This, AppKit.NSCollectionView collectionView, AppKit.NSDraggingInfo draggingInfo, Foundation.NSIndexPath indexPath, AppKit.NSCollectionViewDropOperation dropOperation);
static member AcceptDrop : AppKit.INSCollectionViewDelegate * AppKit.NSCollectionView * AppKit.NSDraggingInfo * Foundation.NSIndexPath * AppKit.NSCollectionViewDropOperation -> bool
參數
- collectionView
- NSCollectionView
- draggingInfo
- NSDraggingInfo
- indexPath
- NSIndexPath
- dropOperation
- NSCollectionViewDropOperation
傳回
- 屬性
適用於
AcceptDrop(INSCollectionViewDelegate, NSCollectionView, NSDraggingInfo, nint, NSCollectionViewDropOperation)
public static bool AcceptDrop (this AppKit.INSCollectionViewDelegate This, AppKit.NSCollectionView collectionView, AppKit.NSDraggingInfo draggingInfo, nint index, AppKit.NSCollectionViewDropOperation dropOperation);
static member AcceptDrop : AppKit.INSCollectionViewDelegate * AppKit.NSCollectionView * AppKit.NSDraggingInfo * nint * AppKit.NSCollectionViewDropOperation -> bool
參數
- collectionView
- NSCollectionView
- draggingInfo
- NSDraggingInfo
- index
- System.System.IntPtr System.nativeint
- dropOperation
- NSCollectionViewDropOperation