Enable Looping in Xamarin DatePicker (SfDatePicker)
4 Aug 20221 minute to read
The Looping support is used to automatically navigate the first item to repeat the list of items after reached the last item. Each forward iteration is followed by a backward iteration in the picker control. This can be achieved by using the
The looping support is achieved by setting the
EnableLooping property to true.
<ContentPage.Content> <syncfusion:SfDatePicker x:Name="datePicker" EnableLooping="True" /> </ContentPage.Content> </ContentPage>
SfDatePicker datePicker = new SfDatePicker(); datePicker.EnableLooping = true;