Partager via


ListView.SelectionMode Property

Definition

Gets or sets a value that controls whether and how many items can be selected.

public Xamarin.Forms.ListViewSelectionMode SelectionMode { get; set; }
member this.SelectionMode : Xamarin.Forms.ListViewSelectionMode with get, set

Property Value

None if no selections can be made. Single if one selection can be made.

Remarks

If an item is selected, changing SelectionMode to None will cause the item to be deselected, and ItemSelected to be raised with a null item value.

Applies to