MonobjcMonobjc Documented Class Library
TableViewSelectionIndexesForProposedSelectionMessage Method (tableView, proposedSelectionIndexes)
NamespacesMonobjc.AppKitNSTableView..::..NSTableViewDelegateEventDispatcherTableViewSelectionIndexesForProposedSelectionMessage(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++
public NSIndexSet TableViewSelectionIndexesForProposedSelectionMessage(
	NSTableView tableView,
	NSIndexSet proposedSelectionIndexes
)
Public Function TableViewSelectionIndexesForProposedSelectionMessage ( _
	tableView As NSTableView, _
	proposedSelectionIndexes As NSIndexSet _
) As NSIndexSet
public:
NSIndexSet^ TableViewSelectionIndexesForProposedSelectionMessage(
	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)