Share via


INSCollectionViewDelegate Interface

Definition

This interface represents the Objective-C protocol NSCollectionViewDelegate.

[Foundation.Protocol(Name="NSCollectionViewDelegate", WrapperType=typeof(AppKit.NSCollectionViewDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="CanDragItems", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(Foundation.NSIndexSet), typeof(AppKit.NSEvent) }, ReturnType=typeof(System.Boolean), Selector="collectionView:canDragItemsAtIndexes:withEvent:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WriteItems", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(Foundation.NSIndexSet), typeof(AppKit.NSPasteboard) }, ReturnType=typeof(System.Boolean), Selector="collectionView:writeItemsAtIndexes:toPasteboard:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="NamesOfPromisedFilesDroppedAtDestination", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(Foundation.NSUrl), typeof(Foundation.NSIndexSet) }, ReturnType=typeof(System.String[]), Selector="collectionView:namesOfPromisedFilesDroppedAtDestination:forDraggedItemsAtIndexes:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ValidateDrop", ParameterByRef=new System.Boolean[] { false, false, true, true }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(AppKit.INSDraggingInfo), typeof(System.IntPtr), typeof(AppKit.NSCollectionViewDropOperation) }, ReturnType=typeof(AppKit.NSDragOperation), Selector="collectionView:validateDrop:proposedIndex:dropOperation:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="AcceptDrop", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(AppKit.INSDraggingInfo), typeof(System.IntPtr), typeof(AppKit.NSCollectionViewDropOperation) }, ReturnType=typeof(System.Boolean), Selector="collectionView:acceptDrop:index:dropOperation:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="CanDragItems", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(Foundation.NSSet), typeof(AppKit.NSEvent) }, ReturnType=typeof(System.Boolean), Selector="collectionView:canDragItemsAtIndexPaths:withEvent:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WriteItems", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(Foundation.NSSet), typeof(AppKit.NSPasteboard) }, ReturnType=typeof(System.Boolean), Selector="collectionView:writeItemsAtIndexPaths:toPasteboard:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetNamesOfPromisedFiles", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(Foundation.NSUrl), typeof(Foundation.NSSet) }, ReturnType=typeof(System.String[]), Selector="collectionView:namesOfPromisedFilesDroppedAtDestination:forDraggedItemsAtIndexPaths:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetDraggingImage", ParameterByRef=new System.Boolean[] { false, false, false, true }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(Foundation.NSSet), typeof(AppKit.NSEvent), typeof(CoreGraphics.CGPoint) }, ReturnType=typeof(AppKit.NSImage), Selector="collectionView:draggingImageForItemsAtIndexPaths:withEvent:offset:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ValidateDrop", ParameterByRef=new System.Boolean[] { false, false, true, true }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(AppKit.INSDraggingInfo), typeof(Foundation.NSIndexPath), typeof(AppKit.NSCollectionViewDropOperation) }, ReturnType=typeof(AppKit.NSDragOperation), Selector="collectionView:validateDrop:proposedIndexPath:dropOperation:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="AcceptDrop", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(AppKit.INSDraggingInfo), typeof(Foundation.NSIndexPath), typeof(AppKit.NSCollectionViewDropOperation) }, ReturnType=typeof(System.Boolean), Selector="collectionView:acceptDrop:indexPath:dropOperation:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetPasteboardWriter", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(Foundation.NSIndexPath) }, ReturnType=typeof(AppKit.INSPasteboardWriting), Selector="collectionView:pasteboardWriterForItemAtIndexPath:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DraggingSessionWillBegin", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(AppKit.NSDraggingSession), typeof(CoreGraphics.CGPoint), typeof(Foundation.NSSet) }, Selector="collectionView:draggingSession:willBeginAtPoint:forItemsAtIndexPaths:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldChangeItems", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(Foundation.NSSet), typeof(AppKit.NSCollectionViewItemHighlightState) }, ReturnType=typeof(Foundation.NSSet), Selector="collectionView:shouldChangeItemsAtIndexPaths:toHighlightState:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ItemsChanged", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(Foundation.NSSet), typeof(AppKit.NSCollectionViewItemHighlightState) }, Selector="collectionView:didChangeItemsAtIndexPaths:toHighlightState:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldSelectItems", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(Foundation.NSSet) }, ReturnType=typeof(Foundation.NSSet), Selector="collectionView:shouldSelectItemsAtIndexPaths:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldDeselectItems", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(Foundation.NSSet) }, ReturnType=typeof(Foundation.NSSet), Selector="collectionView:shouldDeselectItemsAtIndexPaths:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ItemsSelected", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(Foundation.NSSet) }, Selector="collectionView:didSelectItemsAtIndexPaths:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ItemsDeselected", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(Foundation.NSSet) }, Selector="collectionView:didDeselectItemsAtIndexPaths:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillDisplayItem", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(AppKit.NSCollectionViewItem), typeof(Foundation.NSIndexPath) }, Selector="collectionView:willDisplayItem:forRepresentedObjectAtIndexPath:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillDisplaySupplementaryView", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(AppKit.NSView), typeof(Foundation.NSString), typeof(Foundation.NSIndexPath) }, Selector="collectionView:willDisplaySupplementaryView:forElementKind:atIndexPath:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DisplayingItemEnded", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(AppKit.NSCollectionViewItem), typeof(Foundation.NSIndexPath) }, Selector="collectionView:didEndDisplayingItem:forRepresentedObjectAtIndexPath:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DisplayingSupplementaryViewEnded", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(AppKit.NSView), typeof(System.String), typeof(Foundation.NSIndexPath) }, Selector="collectionView:didEndDisplayingSupplementaryView:forElementOfKind:atIndexPath:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="TransitionLayout", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(AppKit.NSCollectionViewLayout), typeof(AppKit.NSCollectionViewLayout) }, ReturnType=typeof(AppKit.NSCollectionViewTransitionLayout), Selector="collectionView:transitionLayoutForOldLayout:newLayout:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PasteboardWriterForItem", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(System.UIntPtr) }, ReturnType=typeof(AppKit.INSPasteboardWriting), Selector="collectionView:pasteboardWriterForItemAtIndex:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="UpdateDraggingItemsForDrag", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(AppKit.INSDraggingInfo) }, Selector="collectionView:updateDraggingItemsForDrag:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DraggingSessionWillBegin", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(AppKit.NSDraggingSession), typeof(CoreGraphics.CGPoint), typeof(Foundation.NSIndexSet) }, Selector="collectionView:draggingSession:willBeginAtPoint:forItemsAtIndexes:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DraggingSessionEnded", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(AppKit.NSDraggingSession), typeof(CoreGraphics.CGPoint), typeof(AppKit.NSDragOperation) }, Selector="collectionView:draggingSession:endedAtPoint:dragOperation:")]
public interface INSCollectionViewDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="NSCollectionViewDelegate", WrapperType=typeof(AppKit.NSCollectionViewDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="CanDragItems", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(Foundation.NSIndexSet), typeof(AppKit.NSEvent) }, ReturnType=typeof(System.Boolean), Selector="collectionView:canDragItemsAtIndexes:withEvent:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WriteItems", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(Foundation.NSIndexSet), typeof(AppKit.NSPasteboard) }, ReturnType=typeof(System.Boolean), Selector="collectionView:writeItemsAtIndexes:toPasteboard:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="NamesOfPromisedFilesDroppedAtDestination", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(Foundation.NSUrl), typeof(Foundation.NSIndexSet) }, ReturnType=typeof(System.String[]), Selector="collectionView:namesOfPromisedFilesDroppedAtDestination:forDraggedItemsAtIndexes:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ValidateDrop", ParameterByRef=new System.Boolean[] { false, false, true, true }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(AppKit.INSDraggingInfo), typeof(System.IntPtr), typeof(AppKit.NSCollectionViewDropOperation) }, ReturnType=typeof(AppKit.NSDragOperation), Selector="collectionView:validateDrop:proposedIndex:dropOperation:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="AcceptDrop", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(AppKit.INSDraggingInfo), typeof(System.IntPtr), typeof(AppKit.NSCollectionViewDropOperation) }, ReturnType=typeof(System.Boolean), Selector="collectionView:acceptDrop:index:dropOperation:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="CanDragItems", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(Foundation.NSSet), typeof(AppKit.NSEvent) }, ReturnType=typeof(System.Boolean), Selector="collectionView:canDragItemsAtIndexPaths:withEvent:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WriteItems", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(Foundation.NSSet), typeof(AppKit.NSPasteboard) }, ReturnType=typeof(System.Boolean), Selector="collectionView:writeItemsAtIndexPaths:toPasteboard:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetNamesOfPromisedFiles", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(Foundation.NSUrl), typeof(Foundation.NSSet) }, ReturnType=typeof(System.String[]), Selector="collectionView:namesOfPromisedFilesDroppedAtDestination:forDraggedItemsAtIndexPaths:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetDraggingImage", ParameterByRef=new System.Boolean[] { false, false, false, true }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(Foundation.NSSet), typeof(AppKit.NSEvent), typeof(CoreGraphics.CGPoint) }, ReturnType=typeof(AppKit.NSImage), Selector="collectionView:draggingImageForItemsAtIndexPaths:withEvent:offset:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ValidateDrop", ParameterByRef=new System.Boolean[] { false, false, true, true }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(AppKit.INSDraggingInfo), typeof(Foundation.NSIndexPath), typeof(AppKit.NSCollectionViewDropOperation) }, ReturnType=typeof(AppKit.NSDragOperation), Selector="collectionView:validateDrop:proposedIndexPath:dropOperation:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="AcceptDrop", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(AppKit.INSDraggingInfo), typeof(Foundation.NSIndexPath), typeof(AppKit.NSCollectionViewDropOperation) }, ReturnType=typeof(System.Boolean), Selector="collectionView:acceptDrop:indexPath:dropOperation:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetPasteboardWriter", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(Foundation.NSIndexPath) }, ReturnType=typeof(AppKit.INSPasteboardWriting), Selector="collectionView:pasteboardWriterForItemAtIndexPath:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DraggingSessionWillBegin", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(AppKit.NSDraggingSession), typeof(CoreGraphics.CGPoint), typeof(Foundation.NSSet) }, Selector="collectionView:draggingSession:willBeginAtPoint:forItemsAtIndexPaths:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldChangeItems", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(Foundation.NSSet), typeof(AppKit.NSCollectionViewItemHighlightState) }, ReturnType=typeof(Foundation.NSSet), Selector="collectionView:shouldChangeItemsAtIndexPaths:toHighlightState:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ItemsChanged", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(Foundation.NSSet), typeof(AppKit.NSCollectionViewItemHighlightState) }, Selector="collectionView:didChangeItemsAtIndexPaths:toHighlightState:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldSelectItems", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(Foundation.NSSet) }, ReturnType=typeof(Foundation.NSSet), Selector="collectionView:shouldSelectItemsAtIndexPaths:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldDeselectItems", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(Foundation.NSSet) }, ReturnType=typeof(Foundation.NSSet), Selector="collectionView:shouldDeselectItemsAtIndexPaths:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ItemsSelected", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(Foundation.NSSet) }, Selector="collectionView:didSelectItemsAtIndexPaths:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ItemsDeselected", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(Foundation.NSSet) }, Selector="collectionView:didDeselectItemsAtIndexPaths:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillDisplayItem", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(AppKit.NSCollectionViewItem), typeof(Foundation.NSIndexPath) }, Selector="collectionView:willDisplayItem:forRepresentedObjectAtIndexPath:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillDisplaySupplementaryView", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(AppKit.NSView), typeof(Foundation.NSString), typeof(Foundation.NSIndexPath) }, Selector="collectionView:willDisplaySupplementaryView:forElementKind:atIndexPath:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DisplayingItemEnded", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(AppKit.NSCollectionViewItem), typeof(Foundation.NSIndexPath) }, Selector="collectionView:didEndDisplayingItem:forRepresentedObjectAtIndexPath:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DisplayingSupplementaryViewEnded", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(AppKit.NSView), typeof(System.String), typeof(Foundation.NSIndexPath) }, Selector="collectionView:didEndDisplayingSupplementaryView:forElementOfKind:atIndexPath:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="TransitionLayout", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(AppKit.NSCollectionViewLayout), typeof(AppKit.NSCollectionViewLayout) }, ReturnType=typeof(AppKit.NSCollectionViewTransitionLayout), Selector="collectionView:transitionLayoutForOldLayout:newLayout:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PasteboardWriterForItem", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(System.UIntPtr) }, ReturnType=typeof(AppKit.INSPasteboardWriting), Selector="collectionView:pasteboardWriterForItemAtIndex:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="UpdateDraggingItemsForDrag", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(AppKit.INSDraggingInfo) }, Selector="collectionView:updateDraggingItemsForDrag:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DraggingSessionWillBegin", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(AppKit.NSDraggingSession), typeof(CoreGraphics.CGPoint), typeof(Foundation.NSIndexSet) }, Selector="collectionView:draggingSession:willBeginAtPoint:forItemsAtIndexes:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DraggingSessionEnded", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSCollectionView), typeof(AppKit.NSDraggingSession), typeof(CoreGraphics.CGPoint), typeof(AppKit.NSDragOperation) }, Selector="collectionView:draggingSession:endedAtPoint:dragOperation:")>]
type INSCollectionViewDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.

A class may also implement members from this interface to implement members from the protocol.

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
AcceptDrop(NSCollectionView, INSDraggingInfo, IntPtr, NSCollectionViewDropOperation)
AcceptDrop(NSCollectionView, INSDraggingInfo, NSIndexPath, NSCollectionViewDropOperation)
CanDragItems(NSCollectionView, NSIndexSet, NSEvent)
CanDragItems(NSCollectionView, NSSet, NSEvent)
DisplayingItemEnded(NSCollectionView, NSCollectionViewItem, NSIndexPath)
DisplayingSupplementaryViewEnded(NSCollectionView, NSView, String, NSIndexPath)
DraggingSessionEnded(NSCollectionView, NSDraggingSession, CGPoint, NSDragOperation)
DraggingSessionWillBegin(NSCollectionView, NSDraggingSession, CGPoint, NSIndexSet)
DraggingSessionWillBegin(NSCollectionView, NSDraggingSession, CGPoint, NSSet)
GetDraggingImage(NSCollectionView, NSSet, NSEvent, CGPoint)
GetNamesOfPromisedFiles(NSCollectionView, NSUrl, NSSet)
GetPasteboardWriter(NSCollectionView, NSIndexPath)
ItemsChanged(NSCollectionView, NSSet, NSCollectionViewItemHighlightState)
ItemsDeselected(NSCollectionView, NSSet)
ItemsSelected(NSCollectionView, NSSet)
NamesOfPromisedFilesDroppedAtDestination(NSCollectionView, NSUrl, NSIndexSet)
PasteboardWriterForItem(NSCollectionView, UIntPtr)
ShouldChangeItems(NSCollectionView, NSSet, NSCollectionViewItemHighlightState)
ShouldDeselectItems(NSCollectionView, NSSet)
ShouldSelectItems(NSCollectionView, NSSet)
TransitionLayout(NSCollectionView, NSCollectionViewLayout, NSCollectionViewLayout)
UpdateDraggingItemsForDrag(NSCollectionView, INSDraggingInfo)
ValidateDrop(NSCollectionView, INSDraggingInfo, IntPtr, NSCollectionViewDropOperation)
ValidateDrop(NSCollectionView, INSDraggingInfo, NSIndexPath, NSCollectionViewDropOperation)
WillDisplayItem(NSCollectionView, NSCollectionViewItem, NSIndexPath)
WillDisplaySupplementaryView(NSCollectionView, NSView, NSString, NSIndexPath)
WriteItems(NSCollectionView, NSIndexSet, NSPasteboard)
WriteItems(NSCollectionView, NSSet, NSPasteboard)

Extension Methods

Name Description
AcceptDrop(INSCollectionViewDelegate, NSCollectionView, INSDraggingInfo, NSIndexPath, NSCollectionViewDropOperation)
AcceptDrop(INSCollectionViewDelegate, NSCollectionView, INSDraggingInfo, IntPtr, NSCollectionViewDropOperation)
CanDragItems(INSCollectionViewDelegate, NSCollectionView, NSIndexSet, NSEvent)
CanDragItems(INSCollectionViewDelegate, NSCollectionView, NSSet, NSEvent)
DisplayingItemEnded(INSCollectionViewDelegate, NSCollectionView, NSCollectionViewItem, NSIndexPath)
DisplayingSupplementaryViewEnded(INSCollectionViewDelegate, NSCollectionView, NSView, String, NSIndexPath)
DraggingSessionEnded(INSCollectionViewDelegate, NSCollectionView, NSDraggingSession, CGPoint, NSDragOperation)
DraggingSessionWillBegin(INSCollectionViewDelegate, NSCollectionView, NSDraggingSession, CGPoint, NSIndexSet)
DraggingSessionWillBegin(INSCollectionViewDelegate, NSCollectionView, NSDraggingSession, CGPoint, NSSet)
GetDraggingImage(INSCollectionViewDelegate, NSCollectionView, NSSet, NSEvent, CGPoint)
GetNamesOfPromisedFiles(INSCollectionViewDelegate, NSCollectionView, NSUrl, NSSet)
GetPasteboardWriter(INSCollectionViewDelegate, NSCollectionView, NSIndexPath)
ItemsChanged(INSCollectionViewDelegate, NSCollectionView, NSSet, NSCollectionViewItemHighlightState)
ItemsDeselected(INSCollectionViewDelegate, NSCollectionView, NSSet)
ItemsSelected(INSCollectionViewDelegate, NSCollectionView, NSSet)
NamesOfPromisedFilesDroppedAtDestination(INSCollectionViewDelegate, NSCollectionView, NSUrl, NSIndexSet)
PasteboardWriterForItem(INSCollectionViewDelegate, NSCollectionView, UIntPtr)
ShouldChangeItems(INSCollectionViewDelegate, NSCollectionView, NSSet, NSCollectionViewItemHighlightState)
ShouldDeselectItems(INSCollectionViewDelegate, NSCollectionView, NSSet)
ShouldSelectItems(INSCollectionViewDelegate, NSCollectionView, NSSet)
TransitionLayout(INSCollectionViewDelegate, NSCollectionView, NSCollectionViewLayout, NSCollectionViewLayout)
UpdateDraggingItemsForDrag(INSCollectionViewDelegate, NSCollectionView, INSDraggingInfo)
ValidateDrop(INSCollectionViewDelegate, NSCollectionView, INSDraggingInfo, NSIndexPath, NSCollectionViewDropOperation)
ValidateDrop(INSCollectionViewDelegate, NSCollectionView, INSDraggingInfo, IntPtr, NSCollectionViewDropOperation)
WillDisplayItem(INSCollectionViewDelegate, NSCollectionView, NSCollectionViewItem, NSIndexPath)
WillDisplaySupplementaryView(INSCollectionViewDelegate, NSCollectionView, NSView, NSString, NSIndexPath)
WriteItems(INSCollectionViewDelegate, NSCollectionView, NSIndexSet, NSPasteboard)
WriteItems(INSCollectionViewDelegate, NSCollectionView, NSSet, NSPasteboard)
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to