NSCollectionViewDelegateFlowLayout.AcceptDrop Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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
Parameters
- collectionView
- NSCollectionView
- draggingInfo
- NSDraggingInfo
- indexPath
- NSIndexPath
- dropOperation
- NSCollectionViewDropOperation
Returns
- Attributes
Applies to
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
Parameters
- collectionView
- NSCollectionView
- draggingInfo
- NSDraggingInfo
- index
- System.System.IntPtr System.nativeint
- dropOperation
- NSCollectionViewDropOperation
Returns
- Attributes