This question is locked. New answers and comments are not allowed.
Hello, currently i have this code for page transitions :
RadSlideTransition anim = new RadSlideTransition();
anim.Orientation = System.Windows.Controls.Orientation.Horizontal;
RadPhoneApplicationFrame frame = new RadPhoneApplicationFrame{Transition = anim};
RootFrame = frame;
This always shows the new page coming from the right and sliding to the left.
I use a swipe control so the user can swipe the page to left or right and i would like to change the direction of the page transition according to the user swipe direction.
Is there a way to acomplish that ? i tried with every transition control from telerik and couldnt change the animation.
The closes i got was trying something like:
anim.ForwardOutAnimation = anim.ForwardOutAnimation.CreateOpposite();
But this created a weird animation because the animation started at the same point of the original and then the page would "jump" to the left and start the animation to the right.
RadSlideTransition anim = new RadSlideTransition();
anim.Orientation = System.Windows.Controls.Orientation.Horizontal;
RadPhoneApplicationFrame frame = new RadPhoneApplicationFrame{Transition = anim};
RootFrame = frame;
This always shows the new page coming from the right and sliding to the left.
I use a swipe control so the user can swipe the page to left or right and i would like to change the direction of the page transition according to the user swipe direction.
Is there a way to acomplish that ? i tried with every transition control from telerik and couldnt change the animation.
The closes i got was trying something like:
anim.ForwardOutAnimation = anim.ForwardOutAnimation.CreateOpposite();
But this created a weird animation because the animation started at the same point of the original and then the page would "jump" to the left and start the animation to the right.