Partager via


UICollectionViewSource.ShouldSelectItem(UICollectionView, NSIndexPath) Méthode

Définition

Indique si l’élément au niveau de l’indexPath spécifié doit être sélectionné.

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

Paramètres

collectionView
UICollectionView

Vue de collection à l’origine de la demande.

indexPath
NSIndexPath

Retours

Attributs

S’applique à