MonobjcMonobjc Documented Class Library
TableViewSelectionIndexesForProposedSelection Method (tableView, proposedSelectionIndexes)
NamespacesMonobjc.AppKitINSTableViewDelegateTableViewSelectionIndexesForProposedSelection(NSTableView, NSIndexSet)

Invoked to allow the delegate to modify the proposed selection.

Original signature is '- (NSIndexSet *)tableView:(NSTableView *)tableView selectionIndexesForProposedSelection:(NSIndexSet *)proposedSelectionIndexes'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
NSIndexSet TableViewSelectionIndexesForProposedSelection(
	NSTableView tableView,
	NSIndexSet proposedSelectionIndexes
)
Function TableViewSelectionIndexesForProposedSelection ( _
	tableView As NSTableView, _
	proposedSelectionIndexes As NSIndexSet _
) As NSIndexSet
NSIndexSet^ TableViewSelectionIndexesForProposedSelection(
	NSTableView^ tableView, 
	NSIndexSet^ proposedSelectionIndexes
)
Parameters
tableView (NSTableView)
The table view that sent the message.
proposedSelectionIndexes (NSIndexSet)
An index set containing the indexes of the proposed selection.
Return Value
An NSIndexSet instance containing the indexes of the new selection. Return proposedSelectionIndexes if the proposed selection is acceptable, or the value of the table view’s existing selection to avoid changing the selection.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)