The Spinner for .NET MAUI is a control which allows you to display items in a list. It also provides an option to loop through its items.
double)—Defines the length of the items in the spinner.
double)—Defines the spacing between the items.
bool)—Defines a value indicating whether the items will loop infinitely while scrolling. By default, the looping is disabled. To enable it, set
IList)—Defines a collection used to generate the content of the spinner.
object)—Defines the selected item.
int)—Specifies the selected index of the Spinner control.
string)—Defines the string format that is used to display the items of the spinner.
string)—Specifies a path to the property that is used to display the items of the spinner.
DataTemplate)—Defines the template for the spinner items.
DataTemplate)—Defines the template for the selected spinner item.
Style)—Defines the style for the spinner items.
Style)—Defines the style for the selected spinner item.
The Spinner exposes the
SelectionChanged event that is raised when the user confirms the selected item.
For a sample example with the Spinner control, refer to the TemplatedPicker/DataBinding folder of the Telerik UI for .NET MAUI SDKBrowser Application.