You can get the properties of SelectedItem by casting the sender to SfCarousel in the SelectionChanged or ItemTapped event.
You can get the index of the SelectedItem by using the SelectedIndex property.
The SelectedItem property stores the value of the current item that has been selected as an object.
The above code selects the third item on load as displayed in the following screenshot.
Figure 1: SelectedItem
You can get the details of the SelectedItem, by casting the sender as SfCarousel. The following code displays how to get the item’s properties.
The following screenshot displays the information after tapping on the second item.
Figure 2: SelectionChanged
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:||Product Version:|