ListView.SetSelectionMode 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
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)
- Source:
- ListView.cs
- Source:
- ListView.cs
Sets the selection mode for the element.
public:
static void SetSelectionMode(Microsoft::Maui::Controls::BindableObject ^ element, Microsoft::Maui::Controls::PlatformConfiguration::WindowsSpecific::ListViewSelectionMode value);
public static void SetSelectionMode (Microsoft.Maui.Controls.BindableObject element, Microsoft.Maui.Controls.PlatformConfiguration.WindowsSpecific.ListViewSelectionMode value);
static member SetSelectionMode : Microsoft.Maui.Controls.BindableObject * Microsoft.Maui.Controls.PlatformConfiguration.WindowsSpecific.ListViewSelectionMode -> unit
Public Sub SetSelectionMode (element As BindableObject, value As ListViewSelectionMode)
Parameters
- element
- BindableObject
The element whose selectio mode to set.
- value
- ListViewSelectionMode
The new selection mode value.
Applies to
SetSelectionMode(IPlatformElementConfiguration<Windows,ListView>, ListViewSelectionMode)
- Source:
- ListView.cs
- Source:
- ListView.cs
Sets the selection mode for the element.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Windows ^, Microsoft::Maui::Controls::ListView ^> ^ SetSelectionMode(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Windows ^, Microsoft::Maui::Controls::ListView ^> ^ config, Microsoft::Maui::Controls::PlatformConfiguration::WindowsSpecific::ListViewSelectionMode value);
public static Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Windows,Microsoft.Maui.Controls.ListView> SetSelectionMode (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Windows,Microsoft.Maui.Controls.ListView> config, Microsoft.Maui.Controls.PlatformConfiguration.WindowsSpecific.ListViewSelectionMode value);
static member SetSelectionMode : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Windows, Microsoft.Maui.Controls.ListView> * Microsoft.Maui.Controls.PlatformConfiguration.WindowsSpecific.ListViewSelectionMode -> Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Windows, Microsoft.Maui.Controls.ListView>
<Extension()>
Public Function SetSelectionMode (config As IPlatformElementConfiguration(Of Windows, ListView), value As ListViewSelectionMode) As IPlatformElementConfiguration(Of Windows, ListView)
Parameters
The element whose selectio mode to set.
- value
- ListViewSelectionMode
The new selection mode value.