UICollectionView.AllowsSelection Property
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.
Specifies whether an application user can select a UICollectionViewCell by tapping.
public virtual bool AllowsSelection { [Foundation.Export("allowsSelection")] get; [Foundation.Export("setAllowsSelection:")] set; }
member this.AllowsSelection : bool with get, set
Property Value
The default value is true
.
- Attributes
Remarks
For a discussion of selection in UICollectionView, see the "Introduction to Collection Views" guide.