ListView.GetSelectionMode Method
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.
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
The element whose selection mode to get.