MonobjcMonobjc Documented Class Library
CollectionViewWriteItemsAtIndexesToPasteboardMessage Method (collectionView, indexes, pasteboard)
NamespacesMonobjc.AppKitNSCollectionView..::..NSCollectionViewDelegateEventDispatcherCollectionViewWriteItemsAtIndexesToPasteboardMessage(NSCollectionView, NSIndexSet, NSPasteboard)

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 bool CollectionViewWriteItemsAtIndexesToPasteboardMessage(
	NSCollectionView collectionView,
	NSIndexSet indexes,
	NSPasteboard pasteboard
)
Public Function CollectionViewWriteItemsAtIndexesToPasteboardMessage ( _
	collectionView As NSCollectionView, _
	indexes As NSIndexSet, _
	pasteboard As NSPasteboard _
) As Boolean
public:
bool CollectionViewWriteItemsAtIndexesToPasteboardMessage(
	NSCollectionView^ collectionView, 
	NSIndexSet^ indexes, 
	NSPasteboard^ pasteboard
)
Parameters
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)