Editar

Compartir a través de


UICollectionViewDelegate.GetIndexPathForPreferredFocusedView Method

Definition

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)]
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

Applies to