UICollectionViewDelegate_Extensions.DidUpdateFocus Method

Definition

Indicates that the focus changed as detailed in the context.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static void DidUpdateFocus (this UIKit.IUICollectionViewDelegate This, UIKit.UICollectionView collectionView, UIKit.UICollectionViewFocusUpdateContext context, UIKit.UIFocusAnimationCoordinator coordinator);
static member DidUpdateFocus : UIKit.IUICollectionViewDelegate * UIKit.UICollectionView * UIKit.UICollectionViewFocusUpdateContext * UIKit.UIFocusAnimationCoordinator -> unit

Parameters

This
IUICollectionViewDelegate

The instance on which this extension method operates.

collectionView
UICollectionView

The collection view that originated the request.

context
UICollectionViewFocusUpdateContext

Metadata for the focus change.

coordinator
UIFocusAnimationCoordinator

The T:UIKit.UIFocusAnimationController coordinating the focus-change animations.

Attributes

Remarks

The values of PreviouslyFocusedIndexPath and NextFocusedIndexPath may be null if focus was previously not within, or just departed, the collectionView.

Applies to