次の方法で共有


UICollectionViewDelegate.CanPerformAction メソッド

定義

この UICollectionViewDelegate が UICollectionView 内のアイテムに対して指定されたアクションを実行できるかどうか。

[Foundation.Export("collectionView:canPerformAction:forItemAtIndexPath:withSender:")]
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

戻り値

属性

適用対象