I am using viewmodel binding for the SelectedIndex property of the SfCarousel. This seems to be working fine for android and iOS. But, on windows platform, the SelectedIndex is not working and the selected index is not coming as center image
I have attached the screen shots how it looks on android/iOS and windows
Here is the code snippet
<carousel:SfCarousel Grid.Row="1" ItemsSource="{Binding AccessPhotos}"
SelectedIndex="{Binding SelectedPhotoIndex,Mode=TwoWay}"
HorizontalOptions="Fill" VerticalOptions="Fill">
<carousel:SfCarousel.ItemTemplate>
<DataTemplate x:DataType="local:AccessPhotoModel">
<Image Source="{Binding RoomImage,Converter={StaticResource imageConverter},Mode=OneWay}" Aspect="AspectFill"/>
</DataTemplate>
</carousel:SfCarousel.ItemTemplate>
</carousel:SfCarousel>
I have also tried to assign hardcoded values like 0, 1, 2 to SelectedIndex property, but still not working
Attachment: Screenshot_587f18ac.png