MonobjcMonobjc Documented Class Library
WindowShouldDragDocumentWithEventFromWithPasteboard Event
NamespacesMonobjc.AppKitNSWindow..::..NSWindowDelegateEventDispatcherWindowShouldDragDocumentWithEventFromWithPasteboard

Asks the delegate whether a user can drag the document icon from the window’s title bar.

Original signature is '- (BOOL)window:(NSWindow *)window shouldDragDocumentWithEvent:(NSEvent *)event from:(NSPoint)dragImageLocation withPasteboard:(NSPasteboard *)pasteboard'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
Return Value
YES to allow the drag to proceed; NO to prevent it.
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)