UICollectionViewSource.ShouldDeselectItem Method

Definition

Whether the item at the specified indexPath should be deselected.

[Foundation.Export("collectionView:shouldDeselectItemAtIndexPath:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool ShouldDeselectItem (UIKit.UICollectionView collectionView, Foundation.NSIndexPath indexPath);
abstract member ShouldDeselectItem : UIKit.UICollectionView * Foundation.NSIndexPath -> bool
override this.ShouldDeselectItem : UIKit.UICollectionView * Foundation.NSIndexPath -> bool

Parameters

collectionView
UICollectionView

The collection view that originated the request.

indexPath
NSIndexPath

Returns

Attributes

Applies to