NSCollectionViewDelegateFlowLayout.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
属性

适用于