net9.0-macos14.2
namespace AppKit
{
    [Protocol(Name = "NSCollectionViewDelegate", WrapperType = typeof(NSCollectionViewDelegateWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DraggingSessionWillBegin", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(NSCollectionView), typeof(NSDraggingSession), typeof(CGPoint), typeof(NSSet) }, Selector = "collectionView:draggingSession:willBeginAtPoint:forItemsAtIndexPaths:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ItemsChanged", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSCollectionView), typeof(NSSet), typeof(NSCollectionViewItemHighlightState) }, Selector = "collectionView:didChangeItemsAtIndexPaths:toHighlightState:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ItemsSelected", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSCollectionView), typeof(NSSet) }, Selector = "collectionView:didSelectItemsAtIndexPaths:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ItemsDeselected", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSCollectionView), typeof(NSSet) }, Selector = "collectionView:didDeselectItemsAtIndexPaths:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillDisplayItem", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSCollectionView), typeof(NSCollectionViewItem), typeof(NSIndexPath) }, Selector = "collectionView:willDisplayItem:forRepresentedObjectAtIndexPath:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillDisplaySupplementaryView", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(NSCollectionView), typeof(NSView), typeof(NSString), typeof(NSIndexPath) }, Selector = "collectionView:willDisplaySupplementaryView:forElementKind:atIndexPath:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DisplayingItemEnded", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSCollectionView), typeof(NSCollectionViewItem), typeof(NSIndexPath) }, Selector = "collectionView:didEndDisplayingItem:forRepresentedObjectAtIndexPath:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DisplayingSupplementaryViewEnded", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(NSCollectionView), typeof(NSView), typeof(string), typeof(NSIndexPath) }, Selector = "collectionView:didEndDisplayingSupplementaryView:forElementOfKind:atIndexPath:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UpdateDraggingItemsForDrag", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSCollectionView), typeof(INSDraggingInfo) }, Selector = "collectionView:updateDraggingItemsForDrag:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DraggingSessionWillBegin", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(NSCollectionView), typeof(NSDraggingSession), typeof(CGPoint), typeof(NSIndexSet) }, Selector = "collectionView:draggingSession:willBeginAtPoint:forItemsAtIndexes:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DraggingSessionEnded", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(NSCollectionView), typeof(NSDraggingSession), typeof(CGPoint), typeof(NSDragOperation) }, Selector = "collectionView:draggingSession:endedAtPoint:dragOperation:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "CanDragItems", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSCollectionView), typeof(NSIndexSet), typeof(NSEvent) }, ReturnType = typeof(bool), Selector = "collectionView:canDragItemsAtIndexes:withEvent:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WriteItems", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSCollectionView), typeof(NSIndexSet), typeof(NSPasteboard) }, ReturnType = typeof(bool), Selector = "collectionView:writeItemsAtIndexes:toPasteboard:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "NamesOfPromisedFilesDroppedAtDestination", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSCollectionView), typeof(NSUrl), typeof(NSIndexSet) }, ReturnType = typeof(string[]), Selector = "collectionView:namesOfPromisedFilesDroppedAtDestination:forDraggedItemsAtIndexes:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ValidateDrop", ParameterByRef = new[] { false, false, true, true }, ParameterType = new[] { typeof(NSCollectionView), typeof(INSDraggingInfo), typeof(IntPtr), typeof(NSCollectionViewDropOperation) }, ReturnType = typeof(NSDragOperation), Selector = "collectionView:validateDrop:proposedIndex:dropOperation:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "AcceptDrop", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(NSCollectionView), typeof(INSDraggingInfo), typeof(IntPtr), typeof(NSCollectionViewDropOperation) }, ReturnType = typeof(bool), Selector = "collectionView:acceptDrop:index:dropOperation:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "CanDragItems", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSCollectionView), typeof(NSSet), typeof(NSEvent) }, ReturnType = typeof(bool), Selector = "collectionView:canDragItemsAtIndexPaths:withEvent:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WriteItems", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSCollectionView), typeof(NSSet), typeof(NSPasteboard) }, ReturnType = typeof(bool), Selector = "collectionView:writeItemsAtIndexPaths:toPasteboard:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetNamesOfPromisedFiles", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSCollectionView), typeof(NSUrl), typeof(NSSet) }, ReturnType = typeof(string[]), Selector = "collectionView:namesOfPromisedFilesDroppedAtDestination:forDraggedItemsAtIndexPaths:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetDraggingImage", ParameterByRef = new[] { false, false, false, true }, ParameterType = new[] { typeof(NSCollectionView), typeof(NSSet), typeof(NSEvent), typeof(CGPoint) }, ReturnType = typeof(NSImage), Selector = "collectionView:draggingImageForItemsAtIndexPaths:withEvent:offset:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ValidateDrop", ParameterByRef = new[] { false, false, true, true }, ParameterType = new[] { typeof(NSCollectionView), typeof(INSDraggingInfo), typeof(NSIndexPath), typeof(NSCollectionViewDropOperation) }, ReturnType = typeof(NSDragOperation), Selector = "collectionView:validateDrop:proposedIndexPath:dropOperation:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "AcceptDrop", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(NSCollectionView), typeof(INSDraggingInfo), typeof(NSIndexPath), typeof(NSCollectionViewDropOperation) }, ReturnType = typeof(bool), Selector = "collectionView:acceptDrop:indexPath:dropOperation:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetPasteboardWriter", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSCollectionView), typeof(NSIndexPath) }, ReturnType = typeof(INSPasteboardWriting), Selector = "collectionView:pasteboardWriterForItemAtIndexPath:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldChangeItems", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSCollectionView), typeof(NSSet), typeof(NSCollectionViewItemHighlightState) }, ReturnType = typeof(NSSet), Selector = "collectionView:shouldChangeItemsAtIndexPaths:toHighlightState:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldSelectItems", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSCollectionView), typeof(NSSet) }, ReturnType = typeof(NSSet), Selector = "collectionView:shouldSelectItemsAtIndexPaths:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldDeselectItems", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSCollectionView), typeof(NSSet) }, ReturnType = typeof(NSSet), Selector = "collectionView:shouldDeselectItemsAtIndexPaths:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "TransitionLayout", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSCollectionView), typeof(NSCollectionViewLayout), typeof(NSCollectionViewLayout) }, ReturnType = typeof(NSCollectionViewTransitionLayout), Selector = "collectionView:transitionLayoutForOldLayout:newLayout:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "PasteboardWriterForItem", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSCollectionView), typeof(UIntPtr) }, ReturnType = typeof(INSPasteboardWriting), Selector = "collectionView:pasteboardWriterForItemAtIndex:")]
    [SupportedOSPlatform("macos")]
    [UnsupportedOSPlatform("maccatalyst")]
    public interface INSCollectionViewDelegate : INativeObject, IDisposable
}
nuget.org
0.0 %
Reference this API
.NET 6.07.08.09.0
Information specific to net9.0
Platforms This API is only available when you target a specific platform:
macOS 10.1410.1510.1611.011.111.211.312.012.112.313.013.113.314.014.2
Information specific to net9.0-macos14.2
Assembly

Microsoft.macOS , Version=14.2.0.0, PublicKeyToken=84e04ff9cfb79065

Referencing

The API is automatically referenced.

Platform Restrictions

This API is only supported on the following platforms:

  • Mac Catalyst
  • macOS
  • Built-in API
  • Package-provided API

10/31/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙