This question is locked. New answers and comments are not allowed.
I'm trying to use the PhoneApplicationFrame to duplicate the rotation animation when the phone orientation changes that the Email application uses.
Here is my code from InitializePhoneApplication
I'm not even sure if this is the correct settings but it is the closest thing that looks like it could be what I want. The unfortunate thing is that this doesn't even appear to handle all the transitions possible for an orientation change (I have a hardcoded Clockwise direction for the change). I just want to provide a transition that is familiar to users and I've come to expect the rotation animation for windows phone apps.
Here is my code from InitializePhoneApplication
var rotateAnimation =
this
.Resources[
"rotateAnimation"
]
as
RadScaleMoveAndRotateAnimation;
rotateAnimation.RotateAnimation.Axes = PerspectiveAnimationAxis.X;
rotateAnimation.RotateAnimation.CenterX = 0.5;
rotateAnimation.RotateAnimation.StartAngleX = 360;
rotateAnimation.RotateAnimation.EndAngleX = 0;
rotateAnimation.RotateAnimation.Direction = PerspectiveAnimationDirection.Clockwise;
// Create the frame but don't set it as RootVisual yet; this allows the splash
// screen to remain active until the application is ready to render.
var frame =
new
RadPhoneApplicationFrame();
frame.OrientationChangeAnimation = rotateAnimation;
I'm not even sure if this is the correct settings but it is the closest thing that looks like it could be what I want. The unfortunate thing is that this doesn't even appear to handle all the transitions possible for an orientation change (I have a hardcoded Clockwise direction for the change). I just want to provide a transition that is familiar to users and I've come to expect the rotation animation for windows phone apps.