UICollectionViewController.ShouldUpdateFocus 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 prevent the focus change specified in context.
[Foundation.Export("collectionView:shouldUpdateFocusInContext:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool ShouldUpdateFocus(UIKit.UICollectionView collectionView, UIKit.UICollectionViewFocusUpdateContext context);
[<Foundation.Export("collectionView:shouldUpdateFocusInContext:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
override this.ShouldUpdateFocus : 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.
Implements
- Attributes