共用方式為


UICollectionViewSource.ItemDeselected(UICollectionView, NSIndexPath) 方法

定義

表示指定的 indexPath 上的專案已取消選取。

[Foundation.Export("collectionView:didDeselectItemAtIndexPath:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void ItemDeselected (UIKit.UICollectionView collectionView, Foundation.NSIndexPath indexPath);
abstract member ItemDeselected : UIKit.UICollectionView * Foundation.NSIndexPath -> unit
override this.ItemDeselected : UIKit.UICollectionView * Foundation.NSIndexPath -> unit

參數

collectionView
UICollectionView

產生要求的集合檢視。

indexPath
NSIndexPath
屬性

適用於