MonobjcMonobjc Documented Class Library
CollectionViewAcceptDropIndexDropOperation Method (collectionView, draggingInfo, index, dropOperation)
NamespacesMonobjc.AppKitINSCollectionViewDelegateCollectionViewAcceptDropIndexDropOperation(NSCollectionView, INSDraggingInfo, NSInteger, NSCollectionViewDropOperation)

Invoked when the mouse is released over a collection view that previously allowed a drop.

Original signature is '- (BOOL)collectionView:(NSCollectionView *)collectionView acceptDrop:(id < NSDraggingInfo >)draggingInfo index:(NSInteger)index dropOperation:(NSCollectionViewDropOperation)dropOperation'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
bool CollectionViewAcceptDropIndexDropOperation(
	NSCollectionView collectionView,
	INSDraggingInfo draggingInfo,
	NSInteger index,
	NSCollectionViewDropOperation dropOperation
)
Function CollectionViewAcceptDropIndexDropOperation ( _
	collectionView As NSCollectionView, _
	draggingInfo As INSDraggingInfo, _
	index As NSInteger, _
	dropOperation As NSCollectionViewDropOperation _
) As Boolean
bool CollectionViewAcceptDropIndexDropOperation(
	NSCollectionView^ collectionView, 
	INSDraggingInfo^ draggingInfo, 
	NSInteger index, 
	NSCollectionViewDropOperation dropOperation
)
Parameters
collectionView (NSCollectionView)
The collection view that send the message.
draggingInfo (INSDraggingInfo)
An object that contains more information about this dragging operation.
index (NSInteger)
The index of the proposed drop item.
dropOperation (NSCollectionViewDropOperation)
The type of dragging operation.
Return Value
YES if the drop operation should be accepted, otherwise NO.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)