Share via


UICollectionViewDelegate_Extensions.DidUpdateFocus Method

Definition

Indicates that the focus changed as detailed in the context.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void DidUpdateFocus(this UIKit.IUICollectionViewDelegate This, UIKit.UICollectionView collectionView, UIKit.UICollectionViewFocusUpdateContext context, UIKit.UIFocusAnimationCoordinator coordinator);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member DidUpdateFocus : UIKit.IUICollectionViewDelegate * UIKit.UICollectionView * UIKit.UICollectionViewFocusUpdateContext * UIKit.UIFocusAnimationCoordinator -> unit

Parameters

collectionView
UICollectionView

The collection view that originated the request.

context
UICollectionViewFocusUpdateContext

Metadata for the focus change.

coordinator
UIFocusAnimationCoordinator

The UIFocusAnimationCoordinator 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