Sent to the delegate during a dragging session to determine whether to accept the drop.
Original signature is '- (BOOL)browser:(NSBrowser *)browser acceptDrop:(id <NSDraggingInfo>)info atRow:(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 bool BrowserAcceptDropAtRowColumnDropOperationMessage( NSBrowser browser, INSDraggingInfo info, NSInteger row, NSInteger column, NSBrowserDropOperation dropOperation )
Public Function BrowserAcceptDropAtRowColumnDropOperationMessage ( _ browser As NSBrowser, _ info As INSDraggingInfo, _ row As NSInteger, _ column As NSInteger, _ dropOperation As NSBrowserDropOperation _ ) As Boolean
public: bool BrowserAcceptDropAtRowColumnDropOperationMessage( NSBrowser^ browser, INSDraggingInfo^ info, NSInteger row, NSInteger column, NSBrowserDropOperation dropOperation )
Parameters
- browser (NSBrowser)
- The browser.
- info (INSDraggingInfo)
- The drag session information.
- row (NSInteger)
- The drop row.
- column (NSInteger)
- The drop column.
- dropOperation (NSBrowserDropOperation)
- The drop location relative to row.
Return Value
YES to accept the drop; NO to decline it.
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)