UICollectionViewSource.DidUpdateFocus 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.
Indicates that the focus changed as detailed in the context
.
[Foundation.Export("collectionView:didUpdateFocusInContext:withAnimationCoordinator:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DidUpdateFocus (UIKit.UICollectionView collectionView, UIKit.UICollectionViewFocusUpdateContext context, UIKit.UIFocusAnimationCoordinator coordinator);
abstract member DidUpdateFocus : UIKit.UICollectionView * UIKit.UICollectionViewFocusUpdateContext * UIKit.UIFocusAnimationCoordinator -> unit
override this.DidUpdateFocus : UIKit.UICollectionView * UIKit.UICollectionViewFocusUpdateContext * UIKit.UIFocusAnimationCoordinator -> unit
Parameters
- collectionView
- UICollectionView
The collection view that originated the request.
A UICollectionViewFocusUpdateContext object containing metadata.
- coordinator
- UIFocusAnimationCoordinator
A UIFocusAnimationCoordinator object containing metadata.
- Attributes
Remarks
The values of PreviouslyFocusedIndexPath and NextFocusedIndexPath may be null
if focus was previously not within, or just departed, the collectionView
.