編輯

共用方式為


UICollectionViewDelegate.ShouldDeselectItem Method

Definition

Whether the specified item should be deselected.

[Foundation.Export("collectionView:shouldDeselectItemAtIndexPath:")]
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