Share via


SelectableItemsView.SelectionMode Property

Definition

Gets or sets the selection mode, which determines whether users can select no items, one item, or multiple items.

public:
 property Microsoft::Maui::Controls::SelectionMode SelectionMode { Microsoft::Maui::Controls::SelectionMode get(); void set(Microsoft::Maui::Controls::SelectionMode value); };
public Microsoft.Maui.Controls.SelectionMode SelectionMode { get; set; }
member this.SelectionMode : Microsoft.Maui.Controls.SelectionMode with get, set
Public Property SelectionMode As SelectionMode

Property Value

A SelectionMode value. The default is None.

Remarks

Set to Single to allow selecting one item at a time, Multiple to allow selecting multiple items, or None to disable selection entirely.

Applies to