This question is locked. New answers and comments are not allowed.
Hi,
I am creating a very simple image slider using SlideView. I have three images and I simply display them one by one.
This is my code:
What I want to do is detect if the user has reached the last image. if yes, then display a button to close the slide view and navigate to another page.
Please tell me how can I detect the image index currently being shown to the user or if the user has reached the last image of the slideview so that I can display my button.
Thanks
I am creating a very simple image slider using SlideView. I have three images and I simply display them one by one.
This is my code:
01.<telerikPrimitives:RadSlideView Grid.RowSpan="2"02. AdjacentItemsPreviewMode="None"03. IsLoopingEnabled="False"04. Orientation="Horizontal"05. x:Name="radSlideView"06. ItemsSource="{Binding}"07. ItemRealizationMode="ViewportItem"08. Margin="-12"09. CacheMode="BitmapCache">10. 11. <telerikPrimitives:RadSlideView.ItemTemplate>12. <DataTemplate>13. <Image Source="{Binding ImagePath}"14. HorizontalAlignment="Center"15. VerticalAlignment="Center"/>16. </DataTemplate>17. </telerikPrimitives:RadSlideView.ItemTemplate>18. </telerikPrimitives:RadSlideView>What I want to do is detect if the user has reached the last image. if yes, then display a button to close the slide view and navigate to another page.
Please tell me how can I detect the image index currently being shown to the user or if the user has reached the last image of the slideview so that I can display my button.
Thanks
