“SelectedIndex” property of Carousel allows to bind the values on it. We can bring item to the center of the screen using “SelectedIndex” property. The following procedure will help to give a way to bind entry value with selected index property of carousel.
Step1: Create a carousel control with needed assemblies.
Step2: Here, we have bind the value enter in entry control with SelectedIndex property of carousel control.
Step3: We can get the enter entry’s value by using its TextChanged event. And then bind the same with selectedIndex property of carousel.
The following code illustrates the way to bind the selectedIndex value in carousel
Code in Xaml:
Code in c#:
This page will automatically be redirected to the sign-in page in 10 seconds.