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
傳回
- 屬性