MonobjcMonobjc Documented Class Library
OutlineViewSelectionIndexesForProposedSelection Method (outlineView, proposedSelectionIndexes)
NamespacesMonobjc.AppKitINSOutlineViewDelegateOutlineViewSelectionIndexesForProposedSelection(NSOutlineView, NSIndexSet)

Invoked to allow the delegate to modify the proposed selection.

Original signature is '- (NSIndexSet *)outlineView:(NSOutlineView *)outlineView selectionIndexesForProposedSelection:(NSIndexSet *)proposedSelectionIndexes'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
NSIndexSet OutlineViewSelectionIndexesForProposedSelection(
	NSOutlineView outlineView,
	NSIndexSet proposedSelectionIndexes
Function OutlineViewSelectionIndexesForProposedSelection ( _
	outlineView As NSOutlineView, _
	proposedSelectionIndexes As NSIndexSet _
) As NSIndexSet
NSIndexSet^ OutlineViewSelectionIndexesForProposedSelection(
	NSOutlineView^ outlineView, 
	NSIndexSet^ proposedSelectionIndexes
outlineView (NSOutlineView)
The outline 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)