共用方式為


NSCollectionViewDelegate.DraggingSessionWillBegin 方法

定義

多載

DraggingSessionWillBegin(NSCollectionView, NSDraggingSession, CGPoint, NSIndexSet)
DraggingSessionWillBegin(NSCollectionView, NSDraggingSession, CGPoint, NSSet)

DraggingSessionWillBegin(NSCollectionView, NSDraggingSession, CGPoint, NSIndexSet)

[Foundation.Export("collectionView:draggingSession:willBeginAtPoint:forItemsAtIndexes:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 7, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DraggingSessionWillBegin (AppKit.NSCollectionView collectionView, AppKit.NSDraggingSession draggingSession, CoreGraphics.CGPoint screenPoint, Foundation.NSIndexSet indexes);
abstract member DraggingSessionWillBegin : AppKit.NSCollectionView * AppKit.NSDraggingSession * CoreGraphics.CGPoint * Foundation.NSIndexSet -> unit
override this.DraggingSessionWillBegin : AppKit.NSCollectionView * AppKit.NSDraggingSession * CoreGraphics.CGPoint * Foundation.NSIndexSet -> unit

參數

collectionView
NSCollectionView
draggingSession
NSDraggingSession
screenPoint
CGPoint
indexes
NSIndexSet
屬性

適用於

DraggingSessionWillBegin(NSCollectionView, NSDraggingSession, CGPoint, NSSet)

[Foundation.Export("collectionView:draggingSession:willBeginAtPoint:forItemsAtIndexPaths:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DraggingSessionWillBegin (AppKit.NSCollectionView collectionView, AppKit.NSDraggingSession session, CoreGraphics.CGPoint screenPoint, Foundation.NSSet indexPaths);
abstract member DraggingSessionWillBegin : AppKit.NSCollectionView * AppKit.NSDraggingSession * CoreGraphics.CGPoint * Foundation.NSSet -> unit
override this.DraggingSessionWillBegin : AppKit.NSCollectionView * AppKit.NSDraggingSession * CoreGraphics.CGPoint * Foundation.NSSet -> unit

參數

collectionView
NSCollectionView
screenPoint
CGPoint
indexPaths
NSSet
屬性

適用於