Bug 40558 - CarouselView Item needs bindable property and needs to be TwoWay
Summary: CarouselView Item needs bindable property and needs to be TwoWay
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.2.0
Hardware: PC Windows
: Normal enhancement
Target Milestone: ---
Assignee: Bugzilla
: 40632 ()
Depends on:
Reported: 2016-04-20 16:27 UTC by FieldstrikeMobile
Modified: 2017-05-10 14:03 UTC (History)
5 users (show)

Tags: ac
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description FieldstrikeMobile 2016-04-20 16:27:11 UTC
A carouselView is essentially a list of items.

Therefore following standard guidelines this control needs to expose a TwoWay "SelectedItem" property.

There is currently an Item property on carouselview which is not bindable and only contains a getter.

This needs to be exposed as a two way bindable property
Comment 1 Chris King 2016-04-25 04:34:40 UTC
Yes, we'll work towards that. What would you expect the behavior to be in the case of duplicate Items in the item source? Pick the first one? The closest one to the current position? Always to the left or right of the current position?
Comment 2 FieldstrikeMobile 2016-04-25 07:43:49 UTC
@ChrisKing This isnt something I'd considered actually. I'd always presumed that people wouldnt use duplicate items in something like this. In the same way you wouldnt expect people to use duplicate items in a combo box. But I think if this was the case where items were duplicated I would expect it to pick the first one in the item source that matched
Comment 3 Samantha Houts [MSFT] 2017-01-03 20:14:28 UTC
*** Bug 40632 has been marked as a duplicate of this bug. ***
Comment 4 FieldstrikeMobile 2017-05-10 14:03:50 UTC
Fixed in new Carousel that is in the process of being merged: