net9.0-macos14.2
namespace AppKit
{
    [Protocol(Name = "NSTableViewDelegate", WrapperType = typeof(NSTableViewDelegateWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillDisplayCell", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(NSTableView), typeof(NSObject), typeof(NSTableColumn), typeof(IntPtr) }, Selector = "tableView:willDisplayCell:forTableColumn:row:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "MouseDownInHeaderOfTableColumn", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSTableView), typeof(NSTableColumn) }, Selector = "tableView:mouseDownInHeaderOfTableColumn:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidClickTableColumn", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSTableView), typeof(NSTableColumn) }, Selector = "tableView:didClickTableColumn:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidDragTableColumn", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSTableView), typeof(NSTableColumn) }, Selector = "tableView:didDragTableColumn:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SelectionDidChange", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSNotification) }, Selector = "tableViewSelectionDidChange:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ColumnDidMove", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSNotification) }, Selector = "tableViewColumnDidMove:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ColumnDidResize", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSNotification) }, Selector = "tableViewColumnDidResize:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SelectionIsChanging", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSNotification) }, Selector = "tableViewSelectionIsChanging:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidAddRowView", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSTableView), typeof(NSTableRowView), typeof(IntPtr) }, Selector = "tableView:didAddRowView:forRow:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidRemoveRowView", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSTableView), typeof(NSTableRowView), typeof(IntPtr) }, Selector = "tableView:didRemoveRowView:forRow:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UserDidChangeVisibility", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSTableView), typeof(NSTableColumn[]) }, Selector = "tableView:userDidChangeVisibilityOfTableColumns:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldEditTableColumn", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSTableView), typeof(NSTableColumn), typeof(IntPtr) }, ReturnType = typeof(bool), Selector = "tableView:shouldEditTableColumn:row:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SelectionShouldChange", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSTableView) }, ReturnType = typeof(bool), Selector = "selectionShouldChangeInTableView:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldSelectRow", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSTableView), typeof(IntPtr) }, ReturnType = typeof(bool), Selector = "tableView:shouldSelectRow:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetSelectionIndexes", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSTableView), typeof(NSIndexSet) }, ReturnType = typeof(NSIndexSet), Selector = "tableView:selectionIndexesForProposedSelection:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldSelectTableColumn", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSTableView), typeof(NSTableColumn) }, ReturnType = typeof(bool), Selector = "tableView:shouldSelectTableColumn:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetRowHeight", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSTableView), typeof(IntPtr) }, ReturnType = typeof(NFloat), Selector = "tableView:heightOfRow:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetSelectString", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSTableView), typeof(NSTableColumn), typeof(IntPtr) }, ReturnType = typeof(string), Selector = "tableView:typeSelectStringForTableColumn:row:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetNextTypeSelectMatch", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(NSTableView), typeof(IntPtr), typeof(IntPtr), typeof(string) }, ReturnType = typeof(IntPtr), Selector = "tableView:nextTypeSelectMatchFromRow:toRow:forString:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldTypeSelect", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSTableView), typeof(NSEvent), typeof(string) }, ReturnType = typeof(bool), Selector = "tableView:shouldTypeSelectForEvent:withCurrentSearchString:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldShowCellExpansion", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSTableView), typeof(NSTableColumn), typeof(IntPtr) }, ReturnType = typeof(bool), Selector = "tableView:shouldShowCellExpansionForTableColumn:row:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldTrackCell", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(NSTableView), typeof(NSCell), typeof(NSTableColumn), typeof(IntPtr) }, ReturnType = typeof(bool), Selector = "tableView:shouldTrackCell:forTableColumn:row:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetDataCell", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSTableView), typeof(NSTableColumn), typeof(IntPtr) }, ReturnType = typeof(NSCell), Selector = "tableView:dataCellForTableColumn:row:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "IsGroupRow", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSTableView), typeof(IntPtr) }, ReturnType = typeof(bool), Selector = "tableView:isGroupRow:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetSizeToFitColumnWidth", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSTableView), typeof(IntPtr) }, ReturnType = typeof(NFloat), Selector = "tableView:sizeToFitWidthOfColumn:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldReorder", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSTableView), typeof(IntPtr), typeof(IntPtr) }, ReturnType = typeof(bool), Selector = "tableView:shouldReorderColumn:toColumn:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetViewForItem", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSTableView), typeof(NSTableColumn), typeof(IntPtr) }, ReturnType = typeof(NSView), Selector = "tableView:viewForTableColumn:row:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "CoreGetRowView", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSTableView), typeof(IntPtr) }, ReturnType = typeof(NSTableRowView), Selector = "tableView:rowViewForRow:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "RowActions", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSTableView), typeof(IntPtr), typeof(NSTableRowActionEdge) }, ReturnType = typeof(NSTableViewRowAction[]), Selector = "tableView:rowActionsForRow:edge:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetToolTip", ParameterByRef = new[] { false, false, true, false, false, false }, ParameterType = new[] { typeof(NSTableView), typeof(NSCell), typeof(CGRect), typeof(NSTableColumn), typeof(IntPtr), typeof(CGPoint) }, ReturnType = typeof(NSString), Selector = "tableView:toolTipForCell:rect:tableColumn:row:mouseLocation:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UserCanChangeVisibility", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSTableView), typeof(NSTableColumn) }, ReturnType = typeof(bool), Selector = "tableView:userCanChangeVisibilityOfTableColumn:")]
    [SupportedOSPlatform("macos")]
    [UnsupportedOSPlatform("maccatalyst")]
    public interface INSTableViewDelegate : 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 🗙