net9.0-macos14.2
namespace AppKit
{
[Protocol(Name = "NSBrowserDelegate", WrapperType = typeof(NSBrowserDelegateWrapper))]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "CreateRowsForColumn", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSBrowser), typeof(IntPtr), typeof(NSMatrix) }, Selector = "browser:createRowsForColumn:inMatrix:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SetObjectValue", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSBrowser), typeof(NSObject), typeof(NSObject) }, Selector = "browser:setObjectValue:forItem:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillDisplayCell", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(NSBrowser), typeof(NSObject), typeof(IntPtr), typeof(IntPtr) }, Selector = "browser:willDisplayCell:atRow:column:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillScroll", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSBrowser) }, Selector = "browserWillScroll:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidScroll", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSBrowser) }, Selector = "browserDidScroll:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ColumnConfigurationDidChange", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSNotification) }, Selector = "browserColumnConfigurationDidChange:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidChangeLastColumn", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSBrowser), typeof(IntPtr), typeof(IntPtr) }, Selector = "browser:didChangeLastColumn:toColumn:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "RowsInColumn", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSBrowser), typeof(IntPtr) }, ReturnType = typeof(IntPtr), Selector = "browser:numberOfRowsInColumn:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "CountChildren", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSBrowser), typeof(NSObject) }, ReturnType = typeof(IntPtr), Selector = "browser:numberOfChildrenOfItem:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetChild", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSBrowser), typeof(IntPtr), typeof(NSObject) }, ReturnType = typeof(NSObject), Selector = "browser:child:ofItem:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "IsLeafItem", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSBrowser), typeof(NSObject) }, ReturnType = typeof(bool), Selector = "browser:isLeafItem:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ObjectValueForItem", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSBrowser), typeof(NSObject) }, ReturnType = typeof(NSObject), Selector = "browser:objectValueForItem:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "RowHeight", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSBrowser), typeof(IntPtr), typeof(IntPtr) }, ReturnType = typeof(NFloat), Selector = "browser:heightOfRow:inColumn:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "RootItemForBrowser", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSBrowser) }, ReturnType = typeof(NSObject), Selector = "rootItemForBrowser:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldEditItem", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSBrowser), typeof(NSObject) }, ReturnType = typeof(bool), Selector = "browser:shouldEditItem:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ColumnTitle", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSBrowser), typeof(IntPtr) }, ReturnType = typeof(string), Selector = "browser:titleOfColumn:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SelectCellWithString", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSBrowser), typeof(string), typeof(IntPtr) }, ReturnType = typeof(bool), Selector = "browser:selectCellWithString:inColumn:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SelectRowInColumn", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSBrowser), typeof(IntPtr), typeof(IntPtr) }, ReturnType = typeof(bool), Selector = "browser:selectRow:inColumn:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "IsColumnValid", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSBrowser), typeof(IntPtr) }, ReturnType = typeof(bool), Selector = "browser:isColumnValid:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldSizeColumn", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(NSBrowser), typeof(IntPtr), typeof(bool), typeof(NFloat) }, ReturnType = typeof(NFloat), Selector = "browser:shouldSizeColumn:forUserResize:toWidth:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SizeToFitWidth", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSBrowser), typeof(IntPtr) }, ReturnType = typeof(NFloat), Selector = "browser:sizeToFitWidthOfColumn:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldShowCellExpansion", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSBrowser), typeof(IntPtr), typeof(IntPtr) }, ReturnType = typeof(bool), Selector = "browser:shouldShowCellExpansionForRow:column:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WriteRowsWithIndexesToPasteboard", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(NSBrowser), typeof(NSIndexSet), typeof(IntPtr), typeof(NSPasteboard) }, ReturnType = typeof(bool), Selector = "browser:writeRowsWithIndexes:inColumn:toPasteboard:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "PromisedFilesDroppedAtDestination", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(NSBrowser), typeof(NSUrl), typeof(NSIndexSet), typeof(IntPtr) }, ReturnType = typeof(string[]), Selector = "browser:namesOfPromisedFilesDroppedAtDestination:forDraggedRowsWithIndexes:inColumn:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "CanDragRowsWithIndexes", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(NSBrowser), typeof(NSIndexSet), typeof(IntPtr), typeof(NSEvent) }, ReturnType = typeof(bool), Selector = "browser:canDragRowsWithIndexes:inColumn:withEvent:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ValidateDrop", ParameterByRef = new[] { false, false, true, true, true }, ParameterType = new[] { typeof(NSBrowser), typeof(INSDraggingInfo), typeof(IntPtr), typeof(IntPtr), typeof(NSBrowserDropOperation) }, ReturnType = typeof(NSDragOperation), Selector = "browser:validateDrop:proposedRow:column:dropOperation:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "AcceptDrop", ParameterByRef = new[] { false, false, false, false, false }, ParameterType = new[] { typeof(NSBrowser), typeof(INSDraggingInfo), typeof(IntPtr), typeof(IntPtr), typeof(NSBrowserDropOperation) }, ReturnType = typeof(bool), Selector = "browser:acceptDrop:atRow:column:dropOperation:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "TypeSelectString", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSBrowser), typeof(IntPtr), typeof(IntPtr) }, ReturnType = typeof(string), Selector = "browser:typeSelectStringForRow:inColumn:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldTypeSelectForEvent", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSBrowser), typeof(NSEvent), typeof(string) }, ReturnType = typeof(bool), Selector = "browser:shouldTypeSelectForEvent:withCurrentSearchString:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "NextTypeSelectMatch", ParameterByRef = new[] { false, false, false, false, false }, ParameterType = new[] { typeof(NSBrowser), typeof(IntPtr), typeof(IntPtr), typeof(IntPtr), typeof(string) }, ReturnType = typeof(IntPtr), Selector = "browser:nextTypeSelectMatchFromRow:toRow:inColumn:forString:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "PreviewViewControllerForLeafItem", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSBrowser), typeof(NSObject) }, ReturnType = typeof(NSViewController), Selector = "browser:previewViewControllerForLeafItem:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "HeaderViewControllerForItem", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSBrowser), typeof(NSObject) }, ReturnType = typeof(NSViewController), Selector = "browser:headerViewControllerForItem:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SelectionIndexesForProposedSelection", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSBrowser), typeof(NSIndexSet), typeof(IntPtr) }, ReturnType = typeof(NSIndexSet), Selector = "browser:selectionIndexesForProposedSelection:inColumn:")]
[SupportedOSPlatform("macos")]
[UnsupportedOSPlatform("maccatalyst")]
public interface INSBrowserDelegate : 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:
|