Sent to the delegate to allow creation of a custom image to represent collection view items during a drag operation.
Original signature is '- (NSImage *)collectionView:(NSCollectionView *)collectionView draggingImageForItemsAtIndexes:(NSIndexSet *)indexes withEvent:(NSEvent *)event offset:(NSPointPointer)dragImageOffset'
Available in Mac OS X v10.6 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public event NSCollectionView..::..CollectionViewDraggingImageForItemsAtIndexesWithEventOffsetEventHandler CollectionViewDraggingImageForItemsAtIndexesWithEventOffset
Public Event CollectionViewDraggingImageForItemsAtIndexesWithEventOffset As NSCollectionView..::..CollectionViewDraggingImageForItemsAtIndexesWithEventOffsetEventHandler
public: event NSCollectionView..::..CollectionViewDraggingImageForItemsAtIndexesWithEventOffsetEventHandler^ CollectionViewDraggingImageForItemsAtIndexesWithEventOffset { void add (NSCollectionView..::..CollectionViewDraggingImageForItemsAtIndexesWithEventOffsetEventHandler^ value); void remove (NSCollectionView..::..CollectionViewDraggingImageForItemsAtIndexesWithEventOffsetEventHandler^ value); }
Return Value
An image containing a rendering of the visible portions of the views for each item.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)