MonobjcMonobjc Documented Class Library
DragImageAtOffsetEventPasteboardSourceSlideBack Method (image, imageLocation, pointerOffset, event, pasteboard, sourceObject, slideBack)
NamespacesMonobjc.AppKitNSWindowDragImageAtOffsetEventPasteboardSourceSlideBack(NSImage, NSPoint, NSSize, NSEvent, NSPasteboard, Id, Boolean)

Begins a dragging session.

Original signature is '- (void)dragImage:(NSImage *)image at:(NSPoint)imageLocation offset:(NSSize)pointerOffset event:(NSEvent *)event pasteboard:(NSPasteboard *)pasteboard source:(id)sourceObject slideBack:(BOOL)slideBack'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void DragImageAtOffsetEventPasteboardSourceSlideBack(
	NSImage image,
	NSPoint imageLocation,
	NSSize pointerOffset,
	NSEvent event,
	NSPasteboard pasteboard,
	Id sourceObject,
	bool slideBack
)
Public Overridable Sub DragImageAtOffsetEventPasteboardSourceSlideBack ( _
	image As NSImage, _
	imageLocation As NSPoint, _
	pointerOffset As NSSize, _
	event As NSEvent, _
	pasteboard As NSPasteboard, _
	sourceObject As Id, _
	slideBack As Boolean _
)
public:
virtual void DragImageAtOffsetEventPasteboardSourceSlideBack(
	NSImage^ image, 
	NSPoint imageLocation, 
	NSSize pointerOffset, 
	NSEvent^ event, 
	NSPasteboard^ pasteboard, 
	Id^ sourceObject, 
	bool slideBack
)
Parameters
image (NSImage)
The object to be dragged.
imageLocation (NSPoint)
Location of the image’s bottom-left corner in the window’s coordinate system. It determines the placement of the dragged image under the pointer.
pointerOffset (NSSize)
MISSING
event (NSEvent)
The left-mouse down event that triggered the dragging operation.
pasteboard (NSPasteboard)
The pasteboard that holds the data to be transfered to the destination.
sourceObject (Id)
The object serving as the controller of the dragging operation. It must conform to the NSDraggingSource informal protocol.
slideBack (Boolean)
Specifies whether the drag image should slide back to imageLocation if it's rejected by the drag destination. Pass YES to specify slideback behavior or NO to specify that it should 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)