UICollectionViewDelegate_Extensions.ShouldSelectItem 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指定 indexPath 处的单元格是否允许自己被选中。
public static bool ShouldSelectItem(this UIKit.IUICollectionViewDelegate This, UIKit.UICollectionView collectionView, Foundation.NSIndexPath indexPath);
static member ShouldSelectItem : UIKit.IUICollectionViewDelegate * UIKit.UICollectionView * Foundation.NSIndexPath -> bool
参数
此扩展方法操作的实例。
- collectionView
- UICollectionView
发起请求的集合视图。
- indexPath
- NSIndexPath