NSView.DragFile(String, CGRect, Boolean, NSEvent) NSView.DragFile(String, CGRect, Boolean, NSEvent) Method

Definition

[Foundation.Export("dragFile:fromRect:slideBack:event:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.None, "Use 'BeginDraggingSession (NSDraggingItem [], NSEvent, NSDraggingSource)' instead.")]
public virtual bool DragFile (string filename, CoreGraphics.CGRect aRect, bool slideBack, AppKit.NSEvent theEvent);
abstract member DragFile : string * CoreGraphics.CGRect * bool * AppKit.NSEvent -> bool
override this.DragFile : string * CoreGraphics.CGRect * bool * AppKit.NSEvent -> bool

Parameters

filename
String String
aRect
CGRect CGRect
slideBack
Boolean Boolean
theEvent
NSEvent NSEvent

Returns

Applies to