Compartilhar via


UICollectionViewDelegate_Extensions.CanFocusItem Método

Definição

Se o item em indexPath pode ser focado.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static bool CanFocusItem (this UIKit.IUICollectionViewDelegate This, UIKit.UICollectionView collectionView, Foundation.NSIndexPath indexPath);
static member CanFocusItem : UIKit.IUICollectionViewDelegate * UIKit.UICollectionView * Foundation.NSIndexPath -> bool

Parâmetros

This
IUICollectionViewDelegate

A instância na qual esse método de extensão opera.

collectionView
UICollectionView

O UICollectionView está associado thisa .

indexPath
NSIndexPath

O NSIndexPath do item que está sendo verificado.

Retornos

Retornará true se o item puder ser focado.

Atributos

Comentários

Se esse método não for implementado, a propriedade do CanBecomeFocused item será verificada.

Aplica-se a