Szerkesztés

Megosztás a következőn keresztül:


UITableView.AllowsMultipleSelection Property

Definition

Whether more than one row can be selected (outside of editing mode).

public virtual bool AllowsMultipleSelection { [Foundation.Export("allowsMultipleSelection")] get; [Foundation.Export("setAllowsMultipleSelection:")] set; }
member this.AllowsMultipleSelection : bool with get, set

Property Value

false if multiple selection is prohibited, true if it is allowed.

Attributes

Remarks

When this property is true, a check mark is placed next to each row that is tapped. Tapping the row again removes the check mark.

Call IndexPathsForSelectedRows to identify the selected rows.

The default value of this property is false.

Applies to