UICollectionView.DeselectItem(NSIndexPath, Boolean) Method

Definition

Deselects the UICollectionViewCell at the specified NSIndexPath.

[Foundation.Export("deselectItemAtIndexPath:animated:")]
public virtual void DeselectItem (Foundation.NSIndexPath indexPath, bool animated);
abstract member DeselectItem : Foundation.NSIndexPath * bool -> unit
override this.DeselectItem : Foundation.NSIndexPath * bool -> unit

Parameters

indexPath
NSIndexPath

A NSIndexPath specifying the index of the item to be deselected.

animated
Boolean

Specifies whether the deselection should be animated.

Attributes

Remarks

This method does not trigger calls to ItemDeselected(UICollectionView, NSIndexPath) or ItemUnhighlighted(UICollectionView, NSIndexPath).

Applies to