This is a migrated thread and some comments may be shown as answers.

How to initially position slideview on a non-0 index without animation?

1 Answer 81 Views
SlideView
This is a migrated thread and some comments may be shown as answers.
Shawn
Top achievements
Rank 2
Shawn asked on 01 Aug 2018, 10:57 PM
I would like to initially show a RadSlideView on the very last index.  If I assign a value to SelectedIndex BEFORE I set the ItemsSource, it ignores me.  If I assign a value to SelectedIndex AFTER I set the ItemsSource, it works, but I see an annoying animation. I tried setting IsAnimated to false before assigning these values and then turning it back on after, but that didn't work either.  I am not sure what IsAnimated does anyway.

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 06 Aug 2018, 01:25 PM
Hello Shawn,

I will need more details on the exact scenario you have as I tested the described behavior and when SelectedIndex is set after ItemsSource, the corresponding View is displayed without animation -  I've tried it on Android and iOS using the code from the provided files. Could you please check them out? What is different in your case?

Looking forward to your reply.

Regards,
Yana
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
SlideView
Asked by
Shawn
Top achievements
Rank 2
Answers by
Yana
Telerik team
Share this question
or