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) |
Obsolete.
Returns the selection mode for the element. |
| GetSelectionMode(IPlatformElementConfiguration<Windows,ListView>) |
Obsolete.
Returns the selection mode for the element. |
GetSelectionMode(BindableObject)
- Source:
- ListView.cs
- Source:
- ListView.cs
- Source:
- ListView.cs
Caution
With the deprecation of ListView, this property is obsolete. Please use CollectionView instead.
Returns the selection mode for the element.
public:
static Microsoft::Maui::Controls::PlatformConfiguration::WindowsSpecific::ListViewSelectionMode GetSelectionMode(Microsoft::Maui::Controls::BindableObject ^ element);
[System.Obsolete("With the deprecation of ListView, this property is obsolete. Please use CollectionView instead.")]
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);
[<System.Obsolete("With the deprecation of ListView, this property is obsolete. Please use CollectionView instead.")>]
static member GetSelectionMode : Microsoft.Maui.Controls.BindableObject -> Microsoft.Maui.Controls.PlatformConfiguration.WindowsSpecific.ListViewSelectionMode
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
- Attributes
Applies to
GetSelectionMode(IPlatformElementConfiguration<Windows,ListView>)
- Source:
- ListView.cs
- Source:
- ListView.cs
- Source:
- ListView.cs
Caution
With the deprecation of ListView, this property is obsolete. Please use CollectionView instead.
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);
[System.Obsolete("With the deprecation of ListView, this property is obsolete. Please use CollectionView instead.")]
public static Microsoft.Maui.Controls.PlatformConfiguration.WindowsSpecific.ListViewSelectionMode GetSelectionMode(this 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);
[<System.Obsolete("With the deprecation of ListView, this property is obsolete. Please use CollectionView instead.")>]
static member GetSelectionMode : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Windows, Microsoft.Maui.Controls.ListView> -> Microsoft.Maui.Controls.PlatformConfiguration.WindowsSpecific.ListViewSelectionMode
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.
Returns
- Attributes