Slide to a specific item in a SlideView

4 posts, 0 answers
  1. Senkwe
    Senkwe avatar
    6 posts
    Member since:
    Sep 2013

    Posted 07 Mar 2014 Link to this post

    Hi guys,

    Is it at all possible to prgramtically slide/scroll to a specific item/index using the SlideView?
  2. Todor
    Admin
    Todor avatar
    778 posts

    Posted 10 Mar 2014 Link to this post

    Hi,

    Thank you for your question.

    There two ways to change the selection in RadSlideView:

    1) with the methods MoveToNextItem / MoveToPreviousItem - as the name implies the selection changes to one of the adjacent items;

    2) with the SelectedItem property - simply set it to the desired item of your collection;

    I hope this information helps.

    Regards,
    Todor
    Telerik

    DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

  3. DevCraft banner
  4. Senkwe
    Senkwe avatar
    6 posts
    Member since:
    Sep 2013

    Posted 10 Mar 2014 in reply to Todor Link to this post

    Thanks Todor,

    But what I'm asking is, does setting SelectedItem animate  to that item?
  5. Todor
    Admin
    Todor avatar
    778 posts

    Posted 10 Mar 2014 Link to this post

    Hi Senkwe,

    The animation is possible only with the first approach for moving to adjacent items.

    Regards,
    Todor
    Telerik

    DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

Back to Top