UICollectionViewDelegate_Extensions.GetIndexPathForPreferredFocusedView 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.
When overridden, allows the developer to specify the item that should initially receive focus.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSIndexPath GetIndexPathForPreferredFocusedView (this UIKit.IUICollectionViewDelegate This, UIKit.UICollectionView collectionView);
static member GetIndexPathForPreferredFocusedView : UIKit.IUICollectionViewDelegate * UIKit.UICollectionView -> Foundation.NSIndexPath
Parameters
The instance on which this extension method operates.
- collectionView
- UICollectionView
The collection view that originated the request.
Returns
- Attributes
Remarks
The value returned by this method will be ignored on re-entry if the collectionView
object's RemembersLastFocusedIndexPath is true
.