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
}
Assembly Microsoft.macOS , Version=14.0.0.0, PublicKeyToken=84e04ff9cfb79065
Help Documentation
.NET 6.0-macos7.0-macos8.0-macos9.0-macos
Xamarin macOS 0.0
OS Platforms

For the selected framework this API is only supported on the following OS platforms:

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

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