Upravit

Sdílet prostřednictvím


UICollectionView.AllowsSelection Property

Definition

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.

Applies to

See also