UIKit.UICollectionView.AllowsSelection Property
Specifies whether an application user can select a UIKit.UICollectionViewCell by tapping.

Syntax

[get: Foundation.Export("allowsSelection")]
[set: Foundation.Export("setAllowsSelection:")]
public virtual bool AllowsSelection { get; set; }

Value

The default value is true.

Remarks

For a discussion of selection in UIKit.UICollectionView, see the "Introduction to Collection Views" guide.

Related content

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0