UICollectionViewDelegate.CanFocusItem(UICollectionView, NSIndexPath) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Whether the item at indexPath
can be focused.
[Foundation.Export("collectionView:canFocusItemAtIndexPath:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 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