Sent to the delegate during a dragging session to determine whether a drop should be accepted and to obtain the drop location. This method is required for a browser to be a drag destination.
Original signature is '- (NSDragOperation)browser:(NSBrowser *)browser validateDrop:(id <NSDraggingInfo>)info proposedRow:(NSInteger *)row column:(NSInteger *)column dropOperation:(NSBrowserDropOperation *)dropOperation'
Available in Mac OS X v10.5 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public event NSBrowser..::..BrowserValidateDropProposedRowColumnDropOperationEventHandler BrowserValidateDropProposedRowColumnDropOperation
Public Event BrowserValidateDropProposedRowColumnDropOperation As NSBrowser..::..BrowserValidateDropProposedRowColumnDropOperationEventHandler
public: event NSBrowser..::..BrowserValidateDropProposedRowColumnDropOperationEventHandler^ BrowserValidateDropProposedRowColumnDropOperation { void add (NSBrowser..::..BrowserValidateDropProposedRowColumnDropOperationEventHandler^ value); void remove (NSBrowser..::..BrowserValidateDropProposedRowColumnDropOperationEventHandler^ value); }
Return Value
The drag operation that the data source is to perform. For the browser to accept the drop, it must not be NSDragOperationNone.
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)