UICollectionViewDelegate_Extensions.CanFocusItem 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.
[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
Parameters
The instance on which this extension method operates.
- 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
Remarks
If this method is not implemented, the item's CanBecomeFocused property will be checked.