Share via


INSOutlineViewDataSource Interface

Definition

This interface represents the Objective-C protocol NSOutlineViewDataSource.

[Foundation.Protocol(Name="NSOutlineViewDataSource", WrapperType=typeof(AppKit.NSOutlineViewDataSourceWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetChild", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSOutlineView), typeof(System.IntPtr), typeof(Foundation.NSObject) }, ReturnType=typeof(Foundation.NSObject), Selector="outlineView:child:ofItem:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ItemExpandable", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSOutlineView), typeof(Foundation.NSObject) }, ReturnType=typeof(System.Boolean), Selector="outlineView:isItemExpandable:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetChildrenCount", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSOutlineView), typeof(Foundation.NSObject) }, ReturnType=typeof(System.IntPtr), Selector="outlineView:numberOfChildrenOfItem:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetObjectValue", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSOutlineView), typeof(AppKit.NSTableColumn), typeof(Foundation.NSObject) }, ReturnType=typeof(Foundation.NSObject), Selector="outlineView:objectValueForTableColumn:byItem:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="SetObjectValue", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSOutlineView), typeof(Foundation.NSObject), typeof(AppKit.NSTableColumn), typeof(Foundation.NSObject) }, Selector="outlineView:setObjectValue:forTableColumn:byItem:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ItemForPersistentObject", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSOutlineView), typeof(Foundation.NSObject) }, ReturnType=typeof(Foundation.NSObject), Selector="outlineView:itemForPersistentObject:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PersistentObjectForItem", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSOutlineView), typeof(Foundation.NSObject) }, ReturnType=typeof(Foundation.NSObject), Selector="outlineView:persistentObjectForItem:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="SortDescriptorsChanged", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSOutlineView), typeof(Foundation.NSSortDescriptor[]) }, Selector="outlineView:sortDescriptorsDidChange:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="OutlineViewwriteItemstoPasteboard", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSOutlineView), typeof(Foundation.NSArray), typeof(AppKit.NSPasteboard) }, ReturnType=typeof(System.Boolean), Selector="outlineView:writeItems: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.NSOutlineView), typeof(AppKit.INSDraggingInfo), typeof(Foundation.NSObject), typeof(System.IntPtr) }, ReturnType=typeof(AppKit.NSDragOperation), Selector="outlineView:validateDrop:proposedItem:proposedChildIndex:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="AcceptDrop", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSOutlineView), typeof(AppKit.INSDraggingInfo), typeof(Foundation.NSObject), typeof(System.IntPtr) }, ReturnType=typeof(System.Boolean), Selector="outlineView:acceptDrop:item:childIndex:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="FilesDropped", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSOutlineView), typeof(Foundation.NSUrl), typeof(Foundation.NSArray) }, ReturnType=typeof(System.String[]), Selector="outlineView:namesOfPromisedFilesDroppedAtDestination:forDraggedItems:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PasteboardWriterForItem", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSOutlineView), typeof(Foundation.NSObject) }, ReturnType=typeof(AppKit.INSPasteboardWriting), Selector="outlineView:pasteboardWriterForItem:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DraggingSessionWillBegin", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSOutlineView), typeof(AppKit.NSDraggingSession), typeof(CoreGraphics.CGPoint), typeof(Foundation.NSArray) }, Selector="outlineView:draggingSession:willBeginAtPoint:forItems:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DraggingSessionEnded", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSOutlineView), typeof(AppKit.NSDraggingSession), typeof(CoreGraphics.CGPoint), typeof(AppKit.NSDragOperation) }, Selector="outlineView:draggingSession:endedAtPoint:operation:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="UpdateDraggingItemsForDrag", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSOutlineView), typeof(AppKit.INSDraggingInfo) }, Selector="outlineView:updateDraggingItemsForDrag:")]
public interface INSOutlineViewDataSource : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="NSOutlineViewDataSource", WrapperType=typeof(AppKit.NSOutlineViewDataSourceWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetChild", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSOutlineView), typeof(System.IntPtr), typeof(Foundation.NSObject) }, ReturnType=typeof(Foundation.NSObject), Selector="outlineView:child:ofItem:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ItemExpandable", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSOutlineView), typeof(Foundation.NSObject) }, ReturnType=typeof(System.Boolean), Selector="outlineView:isItemExpandable:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetChildrenCount", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSOutlineView), typeof(Foundation.NSObject) }, ReturnType=typeof(System.IntPtr), Selector="outlineView:numberOfChildrenOfItem:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetObjectValue", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSOutlineView), typeof(AppKit.NSTableColumn), typeof(Foundation.NSObject) }, ReturnType=typeof(Foundation.NSObject), Selector="outlineView:objectValueForTableColumn:byItem:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="SetObjectValue", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSOutlineView), typeof(Foundation.NSObject), typeof(AppKit.NSTableColumn), typeof(Foundation.NSObject) }, Selector="outlineView:setObjectValue:forTableColumn:byItem:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ItemForPersistentObject", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSOutlineView), typeof(Foundation.NSObject) }, ReturnType=typeof(Foundation.NSObject), Selector="outlineView:itemForPersistentObject:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PersistentObjectForItem", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSOutlineView), typeof(Foundation.NSObject) }, ReturnType=typeof(Foundation.NSObject), Selector="outlineView:persistentObjectForItem:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="SortDescriptorsChanged", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSOutlineView), typeof(Foundation.NSSortDescriptor[]) }, Selector="outlineView:sortDescriptorsDidChange:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="OutlineViewwriteItemstoPasteboard", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSOutlineView), typeof(Foundation.NSArray), typeof(AppKit.NSPasteboard) }, ReturnType=typeof(System.Boolean), Selector="outlineView:writeItems: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.NSOutlineView), typeof(AppKit.INSDraggingInfo), typeof(Foundation.NSObject), typeof(System.IntPtr) }, ReturnType=typeof(AppKit.NSDragOperation), Selector="outlineView:validateDrop:proposedItem:proposedChildIndex:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="AcceptDrop", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSOutlineView), typeof(AppKit.INSDraggingInfo), typeof(Foundation.NSObject), typeof(System.IntPtr) }, ReturnType=typeof(System.Boolean), Selector="outlineView:acceptDrop:item:childIndex:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="FilesDropped", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSOutlineView), typeof(Foundation.NSUrl), typeof(Foundation.NSArray) }, ReturnType=typeof(System.String[]), Selector="outlineView:namesOfPromisedFilesDroppedAtDestination:forDraggedItems:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PasteboardWriterForItem", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSOutlineView), typeof(Foundation.NSObject) }, ReturnType=typeof(AppKit.INSPasteboardWriting), Selector="outlineView:pasteboardWriterForItem:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DraggingSessionWillBegin", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSOutlineView), typeof(AppKit.NSDraggingSession), typeof(CoreGraphics.CGPoint), typeof(Foundation.NSArray) }, Selector="outlineView:draggingSession:willBeginAtPoint:forItems:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DraggingSessionEnded", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSOutlineView), typeof(AppKit.NSDraggingSession), typeof(CoreGraphics.CGPoint), typeof(AppKit.NSDragOperation) }, Selector="outlineView:draggingSession:endedAtPoint:operation:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="UpdateDraggingItemsForDrag", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSOutlineView), typeof(AppKit.INSDraggingInfo) }, Selector="outlineView:updateDraggingItemsForDrag:")>]
type INSOutlineViewDataSource = 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(NSOutlineView, INSDraggingInfo, NSObject, IntPtr)
DraggingSessionEnded(NSOutlineView, NSDraggingSession, CGPoint, NSDragOperation)
DraggingSessionWillBegin(NSOutlineView, NSDraggingSession, CGPoint, NSArray)
FilesDropped(NSOutlineView, NSUrl, NSArray)
GetChild(NSOutlineView, IntPtr, NSObject)
GetChildrenCount(NSOutlineView, NSObject)
GetObjectValue(NSOutlineView, NSTableColumn, NSObject)
ItemExpandable(NSOutlineView, NSObject)
ItemForPersistentObject(NSOutlineView, NSObject)
OutlineViewwriteItemstoPasteboard(NSOutlineView, NSArray, NSPasteboard)
PasteboardWriterForItem(NSOutlineView, NSObject)
PersistentObjectForItem(NSOutlineView, NSObject)
SetObjectValue(NSOutlineView, NSObject, NSTableColumn, NSObject)
SortDescriptorsChanged(NSOutlineView, NSSortDescriptor[])
UpdateDraggingItemsForDrag(NSOutlineView, INSDraggingInfo)
ValidateDrop(NSOutlineView, INSDraggingInfo, NSObject, IntPtr)

Extension Methods

Name Description
AcceptDrop(INSOutlineViewDataSource, NSOutlineView, INSDraggingInfo, NSObject, IntPtr)
DraggingSessionEnded(INSOutlineViewDataSource, NSOutlineView, NSDraggingSession, CGPoint, NSDragOperation)
DraggingSessionWillBegin(INSOutlineViewDataSource, NSOutlineView, NSDraggingSession, CGPoint, NSArray)
FilesDropped(INSOutlineViewDataSource, NSOutlineView, NSUrl, NSArray)
GetChild(INSOutlineViewDataSource, NSOutlineView, IntPtr, NSObject)
GetChildrenCount(INSOutlineViewDataSource, NSOutlineView, NSObject)
GetObjectValue(INSOutlineViewDataSource, NSOutlineView, NSTableColumn, NSObject)
ItemExpandable(INSOutlineViewDataSource, NSOutlineView, NSObject)
ItemForPersistentObject(INSOutlineViewDataSource, NSOutlineView, NSObject)
OutlineViewwriteItemstoPasteboard(INSOutlineViewDataSource, NSOutlineView, NSArray, NSPasteboard)
PasteboardWriterForItem(INSOutlineViewDataSource, NSOutlineView, NSObject)
PersistentObjectForItem(INSOutlineViewDataSource, NSOutlineView, NSObject)
SetObjectValue(INSOutlineViewDataSource, NSOutlineView, NSObject, NSTableColumn, NSObject)
SortDescriptorsChanged(INSOutlineViewDataSource, NSOutlineView, NSSortDescriptor[])
UpdateDraggingItemsForDrag(INSOutlineViewDataSource, NSOutlineView, INSDraggingInfo)
ValidateDrop(INSOutlineViewDataSource, NSOutlineView, INSDraggingInfo, NSObject, IntPtr)
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to