NSCollectionViewDelegateFlowLayout.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
返回
- 属性