Edit

Share via


UICollectionViewController.PerformAction Method

Definition

Performs a copy or paste operation on the data at the specified index.

[Foundation.Export("collectionView:performAction:forItemAtIndexPath:withSender:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
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

Parameters

collectionView
UICollectionView

Collection view managed by this view controller.

action
Selector

The action that is to be performed.

indexPath
NSIndexPath

Index path for the affected item.

sender
NSObject

Initiator for the action.

Attributes

Applies to