共用方式為


NSCollectionViewDelegate_Extensions.ValidateDrop 方法

定義

多載

ValidateDrop(INSCollectionViewDelegate, NSCollectionView, NSDraggingInfo, NSIndexPath, NSCollectionViewDropOperation)
已淘汰.
ValidateDrop(INSCollectionViewDelegate, NSCollectionView, NSDraggingInfo, nint, NSCollectionViewDropOperation)

ValidateDrop(INSCollectionViewDelegate, NSCollectionView, NSDraggingInfo, NSIndexPath, NSCollectionViewDropOperation)

警告

Use 'ValidateDropOperation (NSCollectionView collectionView, NSDraggingInfo draggingInfo, ref NSIndexPath proposedDropIndexPath, ref NSCollectionViewDropOperation proposedDropOperation)' instead.

[System.Obsolete("Use 'ValidateDropOperation (NSCollectionView collectionView, NSDraggingInfo draggingInfo, ref NSIndexPath proposedDropIndexPath, ref NSCollectionViewDropOperation proposedDropOperation)' instead.")]
public static AppKit.NSDragOperation ValidateDrop (this AppKit.INSCollectionViewDelegate This, AppKit.NSCollectionView collectionView, AppKit.NSDraggingInfo draggingInfo, out Foundation.NSIndexPath proposedDropIndexPath, out AppKit.NSCollectionViewDropOperation proposedDropOperation);
static member ValidateDrop : AppKit.INSCollectionViewDelegate * AppKit.NSCollectionView * AppKit.NSDraggingInfo *  *  -> AppKit.NSDragOperation

參數

collectionView
NSCollectionView
draggingInfo
NSDraggingInfo
proposedDropIndexPath
NSIndexPath
proposedDropOperation
NSCollectionViewDropOperation

傳回

屬性

適用於

ValidateDrop(INSCollectionViewDelegate, NSCollectionView, NSDraggingInfo, nint, NSCollectionViewDropOperation)

public static AppKit.NSDragOperation ValidateDrop (this AppKit.INSCollectionViewDelegate This, AppKit.NSCollectionView collectionView, AppKit.NSDraggingInfo draggingInfo, ref nint dropIndex, ref AppKit.NSCollectionViewDropOperation dropOperation);
static member ValidateDrop : AppKit.INSCollectionViewDelegate * AppKit.NSCollectionView * AppKit.NSDraggingInfo *  *  -> AppKit.NSDragOperation

參數

collectionView
NSCollectionView
draggingInfo
NSDraggingInfo
dropIndex
System.System.IntPtr System.nativeint

傳回

適用於