UICollectionViewController.ShouldHighlightItem 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.
Whether the specified item should be highlighted.
[Foundation.Export("collectionView:shouldHighlightItemAtIndexPath:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool ShouldHighlightItem (UIKit.UICollectionView collectionView, Foundation.NSIndexPath indexPath);
abstract member ShouldHighlightItem : UIKit.UICollectionView * Foundation.NSIndexPath -> bool
override this.ShouldHighlightItem : UIKit.UICollectionView * Foundation.NSIndexPath -> bool
Parameters
- collectionView
- UICollectionView
Collection view managed by this view controller.
- indexPath
- NSIndexPath
Index path for the affected item.
Returns
Returns true
if item should be highlighted, false
if not.
- Attributes