Share via


INSTableViewDataSource Interface

Definition

This interface represents the Objective-C protocol NSTableViewDataSource.

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

Extension Methods

Name Description
AcceptDrop(INSTableViewDataSource, NSTableView, INSDraggingInfo, IntPtr, NSTableViewDropOperation)
DraggingSessionEnded(INSTableViewDataSource, NSTableView, NSDraggingSession, CGPoint, NSDragOperation)
DraggingSessionWillBegin(INSTableViewDataSource, NSTableView, NSDraggingSession, CGPoint, NSIndexSet)
FilesDropped(INSTableViewDataSource, NSTableView, NSUrl, NSIndexSet)
GetObjectValue(INSTableViewDataSource, NSTableView, NSTableColumn, IntPtr)
GetPasteboardWriterForRow(INSTableViewDataSource, NSTableView, IntPtr)
GetRowCount(INSTableViewDataSource, NSTableView)
SetObjectValue(INSTableViewDataSource, NSTableView, NSObject, NSTableColumn, IntPtr)
SortDescriptorsChanged(INSTableViewDataSource, NSTableView, NSSortDescriptor[])
UpdateDraggingItems(INSTableViewDataSource, NSTableView, INSDraggingInfo)
ValidateDrop(INSTableViewDataSource, NSTableView, INSDraggingInfo, IntPtr, NSTableViewDropOperation)
WriteRows(INSTableViewDataSource, NSTableView, NSIndexSet, NSPasteboard)
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to