Bagikan melalui


UICollectionViewSource.ShouldHighlightItem Metode

Definisi

Apakah item di indexPath yang ditentukan harus disorot.

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

Parameter

collectionView
UICollectionView

Tampilan koleksi yang berasal dari permintaan.

indexPath
NSIndexPath

Mengembalikan

Atribut

Berlaku untuk