NSCollectionViewDelegate.ValidateDrop 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ValidateDrop(NSCollectionView, NSDraggingInfo, NSIndexPath, NSCollectionViewDropOperation) |
已淘汰.
|
ValidateDrop(NSCollectionView, NSDraggingInfo, nint, NSCollectionViewDropOperation) |
ValidateDrop(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 virtual AppKit.NSDragOperation ValidateDrop (AppKit.NSCollectionView collectionView, AppKit.NSDraggingInfo draggingInfo, out Foundation.NSIndexPath proposedDropIndexPath, out AppKit.NSCollectionViewDropOperation proposedDropOperation);
abstract member ValidateDrop : AppKit.NSCollectionView * AppKit.NSDraggingInfo * * -> AppKit.NSDragOperation
override this.ValidateDrop : AppKit.NSCollectionView * AppKit.NSDraggingInfo * * -> AppKit.NSDragOperation
參數
- collectionView
- NSCollectionView
- draggingInfo
- NSDraggingInfo
- proposedDropIndexPath
- NSIndexPath
- proposedDropOperation
- NSCollectionViewDropOperation
傳回
- 屬性
適用於
ValidateDrop(NSCollectionView, NSDraggingInfo, nint, NSCollectionViewDropOperation)
[Foundation.Export("collectionView:validateDrop:proposedIndex:dropOperation:")]
public virtual AppKit.NSDragOperation ValidateDrop (AppKit.NSCollectionView collectionView, AppKit.NSDraggingInfo draggingInfo, ref nint dropIndex, ref AppKit.NSCollectionViewDropOperation dropOperation);
abstract member ValidateDrop : AppKit.NSCollectionView * AppKit.NSDraggingInfo * * -> AppKit.NSDragOperation
override this.ValidateDrop : AppKit.NSCollectionView * AppKit.NSDraggingInfo * * -> AppKit.NSDragOperation
參數
- collectionView
- NSCollectionView
- draggingInfo
- NSDraggingInfo
- dropIndex
- System.System.IntPtr System.nativeint
- dropOperation
- NSCollectionViewDropOperation
傳回
- 屬性