Share via


UICollectionViewSource.ShouldHighlightItem Method

Definition

Whether the cell at the specified indexPath should allow itself to be highlighted.

[Foundation.Export("collectionView:shouldHighlightItemAtIndexPath:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool ShouldHighlightItem(UIKit.UICollectionView collectionView, Foundation.NSIndexPath indexPath);
[<Foundation.Export("collectionView:shouldHighlightItemAtIndexPath:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ShouldHighlightItem : UIKit.UICollectionView * Foundation.NSIndexPath -> bool
override this.ShouldHighlightItem : UIKit.UICollectionView * Foundation.NSIndexPath -> bool

Parameters

collectionView
UICollectionView

The collection view that originated the request.

indexPath
NSIndexPath

Returns

Implements

Attributes

Applies to