Compartilhar via


ListView.GetSelectionMode Method

Definition

Overloads

GetSelectionMode(BindableObject)

Returns the selection mode for the element.

GetSelectionMode(IPlatformElementConfiguration<Windows,ListView>)

Returns the selection mode for the element.

GetSelectionMode(BindableObject)

Source:
ListView.cs
Source:
ListView.cs

Returns the selection mode for the element.

public:
 static Microsoft::Maui::Controls::PlatformConfiguration::WindowsSpecific::ListViewSelectionMode GetSelectionMode(Microsoft::Maui::Controls::BindableObject ^ element);
public static Microsoft.Maui.Controls.PlatformConfiguration.WindowsSpecific.ListViewSelectionMode GetSelectionMode (Microsoft.Maui.Controls.BindableObject element);
static member GetSelectionMode : Microsoft.Maui.Controls.BindableObject -> Microsoft.Maui.Controls.PlatformConfiguration.WindowsSpecific.ListViewSelectionMode
Public Function GetSelectionMode (element As BindableObject) As ListViewSelectionMode

Parameters

element
BindableObject

The element whose selection mode to get.

Returns

Applies to

GetSelectionMode(IPlatformElementConfiguration<Windows,ListView>)

Source:
ListView.cs
Source:
ListView.cs

Returns the selection mode for the element.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::Controls::PlatformConfiguration::WindowsSpecific::ListViewSelectionMode GetSelectionMode(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Windows ^, Microsoft::Maui::Controls::ListView ^> ^ config);
public static Microsoft.Maui.Controls.PlatformConfiguration.WindowsSpecific.ListViewSelectionMode GetSelectionMode (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Windows,Microsoft.Maui.Controls.ListView> config);
static member GetSelectionMode : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Windows, Microsoft.Maui.Controls.ListView> -> Microsoft.Maui.Controls.PlatformConfiguration.WindowsSpecific.ListViewSelectionMode
<Extension()>
Public Function GetSelectionMode (config As IPlatformElementConfiguration(Of Windows, ListView)) As ListViewSelectionMode

Parameters

config
IPlatformElementConfiguration<Windows,ListView>

The element whose selection mode to get.

Returns

Applies to