NSCollectionViewDelegate.AcceptDrop 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
AcceptDrop(NSCollectionView, NSDraggingInfo, NSIndexPath, NSCollectionViewDropOperation) | |
AcceptDrop(NSCollectionView, NSDraggingInfo, nint, NSCollectionViewDropOperation) |
AcceptDrop(NSCollectionView, NSDraggingInfo, NSIndexPath, NSCollectionViewDropOperation)
[Foundation.Export("collectionView:acceptDrop:indexPath:dropOperation:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool AcceptDrop (AppKit.NSCollectionView collectionView, AppKit.NSDraggingInfo draggingInfo, Foundation.NSIndexPath indexPath, AppKit.NSCollectionViewDropOperation dropOperation);
abstract member AcceptDrop : AppKit.NSCollectionView * AppKit.NSDraggingInfo * Foundation.NSIndexPath * AppKit.NSCollectionViewDropOperation -> bool
override this.AcceptDrop : AppKit.NSCollectionView * AppKit.NSDraggingInfo * Foundation.NSIndexPath * AppKit.NSCollectionViewDropOperation -> bool
参数
- collectionView
- NSCollectionView
- draggingInfo
- NSDraggingInfo
- indexPath
- NSIndexPath
- dropOperation
- NSCollectionViewDropOperation
返回
- 属性
适用于
AcceptDrop(NSCollectionView, NSDraggingInfo, nint, NSCollectionViewDropOperation)
[Foundation.Export("collectionView:acceptDrop:index:dropOperation:")]
public virtual bool AcceptDrop (AppKit.NSCollectionView collectionView, AppKit.NSDraggingInfo draggingInfo, nint index, AppKit.NSCollectionViewDropOperation dropOperation);
abstract member AcceptDrop : AppKit.NSCollectionView * AppKit.NSDraggingInfo * nint * AppKit.NSCollectionViewDropOperation -> bool
override this.AcceptDrop : AppKit.NSCollectionView * AppKit.NSDraggingInfo * nint * AppKit.NSCollectionViewDropOperation -> bool
参数
- collectionView
- NSCollectionView
- draggingInfo
- NSDraggingInfo
- index
- System.System.IntPtr System.nativeint
- dropOperation
- NSCollectionViewDropOperation
返回
- 属性