wp7 ingnoring ForwardInAnimation & ForwardOutAnimation animations

4 posts, 0 answers
  1. Alius
    Alius avatar
    4 posts
    Member since:
    Jul 2012

    Posted 29 Apr 2013 Link to this post

    Hi,

    I can't understand why Windows Phone 7 ingnores ForwardInAnimation / ForwardOutAnimation animation settings. Where is no difference if I add something or not - the result the same ForwardInAnimation direction is TopIn/Out. My code looks like:

                RootFrame = new RadPhoneApplicationFrame();

                RootFrame.Navigated += CompleteInitializePhoneApplication;

                RootFrame.Background = App.Current.Resources["MainBackground"] as ImageBrush;

                RadSlideTransition _transition = new RadSlideTransition();

                _transition.ForwardInAnimation = new RadMoveAnimation() { MoveDirection = MoveDirection.LeftOut, SpeedRatio = 1.5 };
                _transition.ForwardOutAnimation = new RadMoveAnimation() { MoveDirection = MoveDirection.LeftIn, SpeedRatio = 1.5 };

                _transition.BackwardInAnimation = new RadMoveAnimation() { MoveDirection = MoveDirection.RightIn, SpeedRatio = 1.5 };
                _transition.BackwardOutAnimation = new RadMoveAnimation() { MoveDirection = MoveDirection.RightOut, SpeedRatio = 1.5 };

                _transition.PlayMode = TransitionPlayMode.Consecutively;

                RootFrame.Transition = _transition;

    Any ideas what is wrong?




  2. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 02 May 2013 Link to this post

    Hello Alius,

    Do you mean that the ForwardIn and ForwardOut animations are not played at all, or they are wrong?

    All the best,
    Valentin.Stoychev
    the Telerik team
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
  3. DevCraft banner
  4. Alius
    Alius avatar
    4 posts
    Member since:
    Jul 2012

    Posted 02 May 2013 Link to this post

    not played at all
  5. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 08 May 2013 Link to this post

    Hi Alius,

    Please excuse us for the late reply!

    to have horizontal slide you need to use the following:
    RadSlideTransition _transition = new RadSlideTransition();
     
     //_transition.ForwardInAnimation = new RadMoveAnimation() { MoveDirection = MoveDirection.LeftOut, SpeedRatio = 1.5 };
     //_transition.ForwardOutAnimation = new RadMoveAnimation() { MoveDirection = MoveDirection.LeftIn, SpeedRatio = 1.5 };
     
     //_transition.BackwardInAnimation = new RadMoveAnimation() { MoveDirection = MoveDirection.RightIn, SpeedRatio = 1.5 };
     //_transition.BackwardOutAnimation = new RadMoveAnimation() { MoveDirection = MoveDirection.RightOut, SpeedRatio = 1.5 };
     _transition.Orientation = System.Windows.Controls.Orientation.Horizontal;
     _transition.PlayMode = TransitionPlayMode.Consecutively;
     
     RootFrame.Transition = _transition;


    Kind regards, Valentin.Stoychev
    the Telerik team
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Back to Top