NSCollectionViewDelegateFlowLayout.CanDragItems 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
CanDragItems(NSCollectionView, NSIndexSet, NSEvent) | |
CanDragItems(NSCollectionView, NSSet, NSEvent) |
CanDragItems(NSCollectionView, NSIndexSet, NSEvent)
[Foundation.Export("collectionView:canDragItemsAtIndexes:withEvent:")]
public virtual bool CanDragItems (AppKit.NSCollectionView collectionView, Foundation.NSIndexSet indexes, AppKit.NSEvent evt);
abstract member CanDragItems : AppKit.NSCollectionView * Foundation.NSIndexSet * AppKit.NSEvent -> bool
override this.CanDragItems : AppKit.NSCollectionView * Foundation.NSIndexSet * AppKit.NSEvent -> bool
参数
- collectionView
- NSCollectionView
- indexes
- NSIndexSet
- evt
- NSEvent
返回
- 属性
适用于
CanDragItems(NSCollectionView, NSSet, NSEvent)
[Foundation.Export("collectionView:canDragItemsAtIndexPaths:withEvent:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool CanDragItems (AppKit.NSCollectionView collectionView, Foundation.NSSet indexPaths, AppKit.NSEvent theEvent);
abstract member CanDragItems : AppKit.NSCollectionView * Foundation.NSSet * AppKit.NSEvent -> bool
override this.CanDragItems : AppKit.NSCollectionView * Foundation.NSSet * AppKit.NSEvent -> bool
参数
- collectionView
- NSCollectionView
- indexPaths
- NSSet
- theEvent
- NSEvent
返回
- 属性