Share via


UICollectionViewDelegate_Extensions.ShouldUpdateFocus Method

Definition

When overridden, allows the developer to prevent the focus change specified in context.

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

Parameters

collectionView
UICollectionView

The collection view that originated the request.

Returns

true if the focus specified in context is allowed.

Attributes

Applies to