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

2 posts, 0 answers
  1. Shawn
    Shawn avatar
    13 posts
    Member since:
    Feb 2012

    Posted 01 Aug 2018 Link to this post

    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.
  2. Yana
    Admin
    Yana avatar
    4831 posts

    Posted 06 Aug 2018 Link to this post

    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
Back to Top