Share via


NSView.DragImage Method

Definition

[Foundation.Export("dragImage:at:offset:event:pasteboard:source:slideBack:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void DragImage(AppKit.NSImage anImage, CoreGraphics.CGPoint viewLocation, CoreGraphics.CGSize initialOffset, AppKit.NSEvent theEvent, AppKit.NSPasteboard pboard, Foundation.NSObject sourceObj, bool slideFlag);
[<Foundation.Export("dragImage:at:offset:event:pasteboard:source:slideBack:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DragImage : AppKit.NSImage * CoreGraphics.CGPoint * CoreGraphics.CGSize * AppKit.NSEvent * AppKit.NSPasteboard * Foundation.NSObject * bool -> unit
override this.DragImage : AppKit.NSImage * CoreGraphics.CGPoint * CoreGraphics.CGSize * AppKit.NSEvent * AppKit.NSPasteboard * Foundation.NSObject * bool -> unit

Parameters

anImage
NSImage
viewLocation
CGPoint
initialOffset
CGSize
theEvent
NSEvent
pboard
NSPasteboard
sourceObj
NSObject
slideFlag
Boolean
Attributes

Applies to