Animation as in the demo

4 posts, 0 answers
  1. Matt
    Matt avatar
    4 posts
    Member since:
    Nov 2010

    Posted 20 Mar 2012 Link to this post

    Hi,
    I am trying to figure out which animation style (/ propoerties) are used for list of examples in the Telerik demo app that comes with the download. When one presses on an item in the list the other options animate out of the way randomly and the click option transitions last.

    Is there an example that does exactly that?

    -matt
  2. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1512 posts

    Posted 21 Mar 2012 Link to this post

    Hi Matt,

    Thank you for contacting us. In our demos, we are using RadPhoneApplicationFrame and the transition it is using internally is RadTileTransition. Give it a try and let me know how it works for you. If you have additional questions, don't hesitate to contact us.

    All the best,
    Kiril Stanoev
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. DevCraft banner
  4. Matt
    Matt avatar
    4 posts
    Member since:
    Nov 2010

    Posted 21 Mar 2012 Link to this post

    Thanks Kiril,
    I will give that a try.

    -matt
  5. Vijay
    Vijay avatar
    29 posts
    Member since:
    Nov 2011

    Posted 04 Jun 2012 Link to this post

    Hi Matt,

    Please find the below sample code to animate with telerik Apps.

                    RadMoveAnimation obj_Animation = new RadMoveAnimation();
                obj_Animation.AutoReverse = true;
                obj_Animation.Duration = TimeSpan.FromSeconds(5);
                obj_Animation.StartPoint = new Point(-120, -130);
                obj_Animation.EndPoint = new Point(80, 80);
                obj_Animation.FillBehavior = AnimationFillBehavior.HoldEnd;
                // obj_Animation.MoveDirection = MoveDirection.BottomOut;
                RadAnimationManager.Play(a, obj_Animation);
            }

    X Angle based movement:

                    RadMoveXAnimation obj_Animation = new RadMoveXAnimation();
                obj_Animation.StartX = -465.32;
                obj_Animation.EndX = 400.22;
                obj_Animation.AutoReverse = true;
                obj_Animation.Duration = TimeSpan.FromSeconds(5);
                RadAnimationManager.Play(a, obj_Animation);

    Thanks and Regards,
    Vijay
Back to Top