net9.0-macos14.2
namespace AppKit
{
    [Protocol(Name = "NSTableViewDataSource", WrapperType = typeof(NSTableViewDataSourceWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SetObjectValue", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(NSTableView), typeof(NSObject), typeof(NSTableColumn), typeof(IntPtr) }, Selector = "tableView:setObjectValue:forTableColumn:row:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SortDescriptorsChanged", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSTableView), typeof(NSSortDescriptor[]) }, Selector = "tableView:sortDescriptorsDidChange:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DraggingSessionWillBegin", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(NSTableView), typeof(NSDraggingSession), typeof(CGPoint), typeof(NSIndexSet) }, Selector = "tableView:draggingSession:willBeginAtPoint:forRowIndexes:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DraggingSessionEnded", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(NSTableView), typeof(NSDraggingSession), typeof(CGPoint), typeof(NSDragOperation) }, Selector = "tableView:draggingSession:endedAtPoint:operation:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UpdateDraggingItems", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSTableView), typeof(INSDraggingInfo) }, Selector = "tableView:updateDraggingItemsForDrag:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetRowCount", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSTableView) }, ReturnType = typeof(IntPtr), Selector = "numberOfRowsInTableView:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetObjectValue", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSTableView), typeof(NSTableColumn), typeof(IntPtr) }, ReturnType = typeof(NSObject), Selector = "tableView:objectValueForTableColumn:row:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WriteRows", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSTableView), typeof(NSIndexSet), typeof(NSPasteboard) }, ReturnType = typeof(bool), Selector = "tableView:writeRowsWithIndexes:toPasteboard:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ValidateDrop", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(NSTableView), typeof(INSDraggingInfo), typeof(IntPtr), typeof(NSTableViewDropOperation) }, ReturnType = typeof(NSDragOperation), Selector = "tableView:validateDrop:proposedRow:proposedDropOperation:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "AcceptDrop", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(NSTableView), typeof(INSDraggingInfo), typeof(IntPtr), typeof(NSTableViewDropOperation) }, ReturnType = typeof(bool), Selector = "tableView:acceptDrop:row:dropOperation:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "FilesDropped", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSTableView), typeof(NSUrl), typeof(NSIndexSet) }, ReturnType = typeof(string[]), Selector = "tableView:namesOfPromisedFilesDroppedAtDestination:forDraggedRowsWithIndexes:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetPasteboardWriterForRow", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSTableView), typeof(IntPtr) }, ReturnType = typeof(INSPasteboardWriting), Selector = "tableView:pasteboardWriterForRow:")]
    [SupportedOSPlatform("macos")]
    [UnsupportedOSPlatform("maccatalyst")]
    public interface INSTableViewDataSource : INativeObject, IDisposable
}
.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

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