SelectableItemsView.SelectionMode 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.
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.