UICollectionViewSource.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.
[Foundation.Export("indexPathForPreferredFocusedViewInCollectionView:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual Foundation.NSIndexPath GetIndexPathForPreferredFocusedView (UIKit.UICollectionView collectionView);
abstract member GetIndexPathForPreferredFocusedView : UIKit.UICollectionView -> Foundation.NSIndexPath
override this.GetIndexPathForPreferredFocusedView : UIKit.UICollectionView -> Foundation.NSIndexPath
Parameters
- collectionView
- UICollectionView
The collection view that originated the request.
Returns
- Attributes