UITableView.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.
Whether a row can be selected.
public virtual bool AllowsSelection { [Foundation.Export("allowsSelection")] get; [Foundation.Export("setAllowsSelection:")] set; }
member this.AllowsSelection : bool with get, set
Property Value
true
if row selection is allowed, false
if not.
- Attributes
Remarks
If true
(the default) then row selection is allowed. This property only affects cell selection when the table view is not in editing mode. To control selection in edting mode, use AllowsSelectionDuringEditing.