Used by an outline view to determine a valid drop target.
Original signature is '- (NSDragOperation)outlineView:(NSOutlineView *)outlineView validateDrop:(id < NSDraggingInfo >)info proposedItem:(id)item proposedChildIndex:(NSInteger)index'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
NSDragOperation OutlineViewValidateDropProposedItemProposedChildIndex( NSOutlineView outlineView, INSDraggingInfo info, Id item, NSInteger index )
Function OutlineViewValidateDropProposedItemProposedChildIndex ( _ outlineView As NSOutlineView, _ info As INSDraggingInfo, _ item As Id, _ index As NSInteger _ ) As NSDragOperation
NSDragOperation OutlineViewValidateDropProposedItemProposedChildIndex( NSOutlineView^ outlineView, INSDraggingInfo^ info, Id^ item, NSInteger index )
Parameters
- outlineView (NSOutlineView)
- The outline view that sent the message.
- info (INSDraggingInfo)
- An object that contains more information about this dragging operation.
- item (Id)
- The proposed parent.
- index (NSInteger)
- The proposed child location.
Return Value
A value that indicates which dragging operation the data source will perform.
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)