MonobjcMonobjc Documented Class Library
NSCollectionView..::..CollectionViewWriteItemsAtIndexesToPasteboardEventHandler Delegate

Invoked after it has been determined that a drag should begin, but before the drag has been started.

Original signature is '- (BOOL)collectionView:(NSCollectionView *)collectionView writeItemsAtIndexes:(NSIndexSet *)indexes toPasteboard:(NSPasteboard *)pasteboard'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public delegate bool CollectionViewWriteItemsAtIndexesToPasteboardEventHandler(
	NSCollectionView collectionView,
	NSIndexSet indexes,
	NSPasteboard pasteboard
Public Delegate Function CollectionViewWriteItemsAtIndexesToPasteboardEventHandler ( _
	collectionView As NSCollectionView, _
	indexes As NSIndexSet, _
	pasteboard As NSPasteboard _
) As Boolean
public delegate bool CollectionViewWriteItemsAtIndexesToPasteboardEventHandler(
	NSCollectionView^ collectionView, 
	NSIndexSet^ indexes, 
	NSPasteboard^ pasteboard
collectionView (NSCollectionView)
The collection view that send the message.
indexes (NSIndexSet)
The indexes of the items to write to the pasteboard.
pasteboard (NSPasteboard)
The pasteboard containing the content from the dragged items.
Return Value
YES to begin the drag, otherwise NO.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

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