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.

C# | Visual Basic | Visual C++ |
public event NSWindow..::..WindowShouldDragDocumentWithEventFromWithPasteboardEventHandler WindowShouldDragDocumentWithEventFromWithPasteboard
Public Event WindowShouldDragDocumentWithEventFromWithPasteboard As NSWindow..::..WindowShouldDragDocumentWithEventFromWithPasteboardEventHandler
public: event NSWindow..::..WindowShouldDragDocumentWithEventFromWithPasteboardEventHandler^ WindowShouldDragDocumentWithEventFromWithPasteboard { void add (NSWindow..::..WindowShouldDragDocumentWithEventFromWithPasteboardEventHandler^ value); void remove (NSWindow..::..WindowShouldDragDocumentWithEventFromWithPasteboardEventHandler^ value); }

YES to allow the drag to proceed; NO to prevent it.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)