다음을 통해 공유


UICollectionViewSource.CanPerformAction 메서드

정의

지정된 indexPath의 셀이 지정된 작업을 지원하는지 여부입니다.

[Foundation.Export("collectionView:canPerformAction:forItemAtIndexPath:withSender:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool CanPerformAction (UIKit.UICollectionView collectionView, ObjCRuntime.Selector action, Foundation.NSIndexPath indexPath, Foundation.NSObject sender);
abstract member CanPerformAction : UIKit.UICollectionView * ObjCRuntime.Selector * Foundation.NSIndexPath * Foundation.NSObject -> bool
override this.CanPerformAction : UIKit.UICollectionView * ObjCRuntime.Selector * Foundation.NSIndexPath * Foundation.NSObject -> bool

매개 변수

collectionView
UICollectionView

요청을 시작한 컬렉션 뷰입니다.

action
Selector
indexPath
NSIndexPath
sender
NSObject

반환

특성

적용 대상