We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to bind the SelectedIndex of Carousel

 

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#:

 

 

 

 

Article ID: Published Date: Last Revised Date: Platform: Control:
7476 02/24/2017 03/02/2017 Xamarin.Forms SfCarousel
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.