MonobjcMonobjc Documented Class Library
PrepareForDragOperation Method (sender)

Invoked when the image is released, allowing the receiver to agree to or refuse drag operation.

Original signature is '- (BOOL)prepareForDragOperation:(id < NSDraggingInfo >)sender'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
bool PrepareForDragOperation(
	INSDraggingInfo sender
Function PrepareForDragOperation ( _
	sender As INSDraggingInfo _
) As Boolean
bool PrepareForDragOperation(
	INSDraggingInfo^ sender
sender (INSDraggingInfo)
The object sending the message; use it to get details about the dragging operation.
Return Value
YES if the receiver agrees to perform the drag operation and NO if not.
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)