Share via


ListView.SetSelectionMode Method

Definition

Overloads

SetSelectionMode(BindableObject, ListViewSelectionMode)

Sets the selection mode for the element.

SetSelectionMode(IPlatformElementConfiguration<Windows,ListView>, ListViewSelectionMode)

Sets the selection mode for the element.

SetSelectionMode(BindableObject, ListViewSelectionMode)

Sets the selection mode for the element.

public static void SetSelectionMode (Xamarin.Forms.BindableObject element, Xamarin.Forms.PlatformConfiguration.WindowsSpecific.ListViewSelectionMode value);
static member SetSelectionMode : Xamarin.Forms.BindableObject * Xamarin.Forms.PlatformConfiguration.WindowsSpecific.ListViewSelectionMode -> unit

Parameters

element
BindableObject

The element whose selectio mode to set.

value
ListViewSelectionMode

The new selection mode value.

Applies to

SetSelectionMode(IPlatformElementConfiguration<Windows,ListView>, ListViewSelectionMode)

Sets the selection mode for the element.

public static Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows,Xamarin.Forms.ListView> SetSelectionMode (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows,Xamarin.Forms.ListView> config, Xamarin.Forms.PlatformConfiguration.WindowsSpecific.ListViewSelectionMode value);
static member SetSelectionMode : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows, Xamarin.Forms.ListView> * Xamarin.Forms.PlatformConfiguration.WindowsSpecific.ListViewSelectionMode -> Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows, Xamarin.Forms.ListView>

Parameters

config
IPlatformElementConfiguration<Windows,ListView>

The element whose selectio mode to set.

value
ListViewSelectionMode

The new selection mode value.

Returns

Applies to