MonobjcMonobjc Documented Class Library
OutlineViewSelectionIndexesForProposedSelectionMessage Method (outlineView, proposedSelectionIndexes)
NamespacesMonobjc.AppKitNSOutlineView..::..NSOutlineViewDelegateEventDispatcherOutlineViewSelectionIndexesForProposedSelectionMessage(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++
public NSIndexSet OutlineViewSelectionIndexesForProposedSelectionMessage(
	NSOutlineView outlineView,
	NSIndexSet proposedSelectionIndexes
)
Public Function OutlineViewSelectionIndexesForProposedSelectionMessage ( _
	outlineView As NSOutlineView, _
	proposedSelectionIndexes As NSIndexSet _
) As NSIndexSet
public:
NSIndexSet^ OutlineViewSelectionIndexesForProposedSelectionMessage(
	NSOutlineView^ outlineView, 
	NSIndexSet^ proposedSelectionIndexes
)
Parameters
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)