MonobjcMonobjc Documented Class Library
CollectionViewWriteItemsAtIndexesToPasteboard Method (collectionView, indexes, pasteboard)
NamespacesMonobjc.AppKitINSCollectionViewDelegateCollectionViewWriteItemsAtIndexesToPasteboard(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++
bool CollectionViewWriteItemsAtIndexesToPasteboard(
	NSCollectionView collectionView,
	NSIndexSet indexes,
	NSPasteboard pasteboard
)
Function CollectionViewWriteItemsAtIndexesToPasteboard ( _
	collectionView As NSCollectionView, _
	indexes As NSIndexSet, _
	pasteboard As NSPasteboard _
) As Boolean
bool CollectionViewWriteItemsAtIndexesToPasteboard(
	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)