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

Slide to a specific item in a SlideView

3 Answers 40 Views
SlideView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Senkwe
Top achievements
Rank 1
Senkwe asked on 07 Mar 2014, 10:17 PM
Hi guys,

Is it at all possible to prgramtically slide/scroll to a specific item/index using the SlideView?

3 Answers, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 10 Mar 2014, 08:23 AM
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.

0
Senkwe
Top achievements
Rank 1
answered on 10 Mar 2014, 08:28 AM
Thanks Todor,

But what I'm asking is, does setting SelectedItem animate  to that item?
0
Todor
Telerik team
answered on 10 Mar 2014, 08:31 AM
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.

Tags
SlideView
Asked by
Senkwe
Top achievements
Rank 1
Answers by
Todor
Telerik team
Senkwe
Top achievements
Rank 1
Share this question
or