MonobjcMonobjc Documented Class Library
BrowserValidateDropProposedRowColumnDropOperation Method (browser, info, row, column, dropOperation)
NamespacesMonobjc.AppKitINSBrowserDelegateBrowserValidateDropProposedRowColumnDropOperation(NSBrowser, INSDraggingInfo, NSInteger%, NSInteger%, NSBrowserDropOperation%)

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 BasicVisual C++
NSDragOperation BrowserValidateDropProposedRowColumnDropOperation(
	NSBrowser browser,
	INSDraggingInfo info,
	ref NSInteger row,
	ref NSInteger column,
	ref NSBrowserDropOperation dropOperation
)
Function BrowserValidateDropProposedRowColumnDropOperation ( _
	browser As NSBrowser, _
	info As INSDraggingInfo, _
	ByRef row As NSInteger, _
	ByRef column As NSInteger, _
	ByRef dropOperation As NSBrowserDropOperation _
) As NSDragOperation
NSDragOperation BrowserValidateDropProposedRowColumnDropOperation(
	NSBrowser^ browser, 
	INSDraggingInfo^ info, 
	NSInteger% row, 
	NSInteger% column, 
	NSBrowserDropOperation% dropOperation
)
Parameters
browser (NSBrowser)
The browser.
info (INSDraggingInfo)
The drag session information.
row (NSInteger%)
On input, the proposed drop row. On output, the drop row.
column (NSInteger%)
On input, the proposed drop column. On output, the drop column.
dropOperation (NSBrowserDropOperation%)
On input, the proposed drop location. On output, the drop location.
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)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)