Edytuj

Udostępnij za pośrednictwem


NSCollectionViewDelegateFlowLayout.ValidateDrop Method

Definition

Overloads

ValidateDrop(NSCollectionView, NSDraggingInfo, NSIndexPath, NSCollectionViewDropOperation)
Obsolete.
ValidateDrop(NSCollectionView, NSDraggingInfo, nint, NSCollectionViewDropOperation)

ValidateDrop(NSCollectionView, NSDraggingInfo, NSIndexPath, NSCollectionViewDropOperation)

Caution

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

Parameters

collectionView
NSCollectionView
draggingInfo
NSDraggingInfo
proposedDropIndexPath
NSIndexPath
proposedDropOperation
NSCollectionViewDropOperation

Returns

Attributes

Applies to

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

Parameters

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

Returns

Attributes

Applies to