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

AnimateHorizontalOffset equivalent

1 Answer 44 Views
LoopingList
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Beau
Top achievements
Rank 1
Beau asked on 27 Aug 2013, 07:23 AM
The "First look" LoopingList uses a handy AnimateVerticalOffset method, is there any horizontal equivalent like AnimateHorizontalOffset that I could use in conjunction with the "Orientation" example.

Thanks,
Beau

1 Answer, 1 is accepted

Sort by
0
Beau
Top achievements
Rank 1
answered on 27 Aug 2013, 10:07 AM
I modified the "Orientation" example to use the same AnimateVerticalOffset which works i.e. animates horizontally if you have set the orientation to be horizontal. Good stuff!

loopingList.AnimateVerticalOffset(loopingList.VerticalOffset + offset, new Duration(TimeSpan.FromMilliseconds(duration)), new CubicEase());
Tags
LoopingList
Asked by
Beau
Top achievements
Rank 1
Answers by
Beau
Top achievements
Rank 1
Share this question
or