共用方式為


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

適用於