UICollectionView.DeselectItem(NSIndexPath, Boolean) 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.
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).