UICollectionViewDelegate.PerformAction 方法

定义

对 UICollectionView 中的项执行指定的操作。

[Foundation.Export("collectionView:performAction:forItemAtIndexPath:withSender:")]
public virtual void PerformAction (UIKit.UICollectionView collectionView, ObjCRuntime.Selector action, Foundation.NSIndexPath indexPath, Foundation.NSObject sender);
abstract member PerformAction : UIKit.UICollectionView * ObjCRuntime.Selector * Foundation.NSIndexPath * Foundation.NSObject -> unit
override this.PerformAction : UIKit.UICollectionView * ObjCRuntime.Selector * Foundation.NSIndexPath * Foundation.NSObject -> unit

参数

collectionView
UICollectionView

发起请求的集合视图。

action
Selector
indexPath
NSIndexPath
sender
NSObject
属性

适用于