Edytuj

Udostępnij za pośrednictwem


UICollectionViewSource.CanFocusItem(UICollectionView, NSIndexPath) Method

Definition

Whether the item at indexPath can be focused.

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

Parameters

collectionView
UICollectionView

The UICollectionView is associated with this.

indexPath
NSIndexPath

The NSIndexPath of the item being checked.

Returns

Returns true if the item can be focused.

Attributes

Applies to