NSCollectionViewDelegate
NSCollectionViewDelegate()
NSCollectionViewDelegate(NativeHandle)
NSCollectionViewDelegate(NSObjectFlag)
AcceptDrop(NSCollectionView, INSDraggingInfo, nint, 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, nuint)
ShouldChangeItems(NSCollectionView, NSSet, NSCollectionViewItemHighlightState)
ShouldDeselectItems(NSCollectionView, NSSet)
ShouldSelectItems(NSCollectionView, NSSet)
TransitionLayout(NSCollectionView, NSCollectionViewLayout, NSCollectionViewLayout)
UpdateDraggingItemsForDrag(NSCollectionView, INSDraggingInfo)
ValidateDrop(NSCollectionView, INSDraggingInfo, nint, NSCollectionViewDropOperation)
ValidateDrop(NSCollectionView, INSDraggingInfo, NSIndexPath, NSCollectionViewDropOperation)
WillDisplayItem(NSCollectionView, NSCollectionViewItem, NSIndexPath)
WillDisplaySupplementaryView(NSCollectionView, NSView, NSString, NSIndexPath)
WriteItems(NSCollectionView, NSIndexSet, NSPasteboard)
WriteItems(NSCollectionView, NSSet, NSPasteboard)
net10.0-macos14.2
namespace AppKit
{
[Model]
[Protocol]
[Register("Microsoft_macOS__AppKit_NSCollectionViewDelegate", false)]
[SupportedOSPlatform("macos")]
[UnsupportedOSPlatform("maccatalyst")]
public class NSCollectionViewDelegate : NSObject, INSCollectionViewDelegate, INativeObject, IDisposable
{
[BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export("collectionView:writeItemsAtIndexes:toPasteboard:")]
[ObsoletedOSPlatform("macos10.15", "Use the 'GetPasteboardWriter' method instead.")]
[SupportedOSPlatform("macos")]
[UnsupportedOSPlatform("maccatalyst")]
public virtual bool WriteItems(NSCollectionView! collectionView, NSIndexSet! indexes, NSPasteboard! toPasteboard);
}
}
| .NET | 6.07.08.09.010.0 |
|---|---|
Information specific to net10.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 net10.0-macos14.2 | |
| Assembly | Microsoft.macOS , Version=15.5.0.0, PublicKeyToken=84e04ff9cfb79065 |
| Referencing | The API is automatically referenced. |
| Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API