Rotate Animation for Orientation Changed

Thread is closed for posting
2 posts, 0 answers
  1. Michael
    Michael avatar
    5 posts
    Member since:
    Mar 2011

    Posted 23 May 2012 Link to this post

    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
    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.
  2. Deyan
    Deyan avatar
    2147 posts

    Posted 28 May 2012 Link to this post

    Hello Michael,

    Thanks for contacting us and for your question.

    Currently RadPhoneApplicationFrame supports only one type of animation when the orientation of the page changes, i.e. it is not aware of the direction of the orientation change.

    Since we consider supporting different types of animations for the different orientation change directions we will extent RadPhoneApplicationFrame to provide this functionality for the upcoming official release (scheduled for the first week of June). We will expose a new property that will allow you to specify a different animation for that purpose.

    I have added 1000 Telerik points to your account for bringing our attention to this.

    Let me know in case you have further questions or need assistance.

    Kind regards,
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top