AnimateHorizontalOffset equivalent

2 posts, 0 answers
  1. Beau
    Beau avatar
    19 posts
    Member since:
    Mar 2011

    Posted 27 Aug 2013 Link to this post

    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
  2. Beau
    Beau avatar
    19 posts
    Member since:
    Mar 2011

    Posted 27 Aug 2013 Link to this post

    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());
  3. DevCraft banner
Back to Top