Поделиться через


NSCollectionViewDelegate.ValidateDrop Метод

Определение

Перегрузки

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

Возвращаемое значение

Атрибуты

Применяется к