共用方式為


NSCollectionView.GetDraggingImage 方法

定義

[Foundation.Export("draggingImageForItemsAtIndexPaths:withEvent:offset:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual AppKit.NSImage GetDraggingImage (Foundation.NSSet<Foundation.NSIndexPath> indexPaths, AppKit.NSEvent theEvent, ref CoreGraphics.CGPoint dragImageOffset);
abstract member GetDraggingImage : Foundation.NSSet<Foundation.NSIndexPath> * AppKit.NSEvent *  -> AppKit.NSImage
override this.GetDraggingImage : Foundation.NSSet<Foundation.NSIndexPath> * AppKit.NSEvent *  -> AppKit.NSImage

參數

indexPaths
NSSet<NSIndexPath>
theEvent
NSEvent
dragImageOffset
CGPoint

傳回

屬性

適用於