共用方式為


NSWindowDelegate.ShouldDragDocumentWithEvent 方法

定義

[Foundation.Export("window:shouldDragDocumentWithEvent:from:withPasteboard:")]
public virtual bool ShouldDragDocumentWithEvent (AppKit.NSWindow window, AppKit.NSEvent theEvent, CoreGraphics.CGPoint dragImageLocation, AppKit.NSPasteboard withPasteboard);
abstract member ShouldDragDocumentWithEvent : AppKit.NSWindow * AppKit.NSEvent * CoreGraphics.CGPoint * AppKit.NSPasteboard -> bool
override this.ShouldDragDocumentWithEvent : AppKit.NSWindow * AppKit.NSEvent * CoreGraphics.CGPoint * AppKit.NSPasteboard -> bool

參數

window
NSWindow
theEvent
NSEvent
dragImageLocation
CGPoint
withPasteboard
NSPasteboard

傳回

屬性

適用於