.NET MAUI ListPicker Looping
The ListPicker for .NET MAUI provides a looping functionality which allows you to loop the list of items after reaching the last item.
You can achieve this by setting the IsLooping
(bool
) property to true
.
Example
1. Define the ListPicker:
2. Define a sample business model:
3. Set the ViewModel
:
The following image shows the end result.
For a sample looping example, refer to the ListPicker/Looping folder of the Telerik UI for .NET MAUI SDKBrowser Application.