Telerik UI for Windows Phone by Progress

The RadPhoneApplicationFrame control allows you to specify the animation that is applied when the phone orientation changes. Since there are two directions in which the frame orientation can change there are two properties exposed by RadPhoneApplicationFrame that are fired according to the change direction:

  • ClockwiseOrientationChangeAnimation - defines the animation played when the orientation of the frame changes in clockwise direction.
  • CounterClockwiseOrientationChangeAnimation - defines the animation played when the orientation of the frame changes in counter-clockwise direction.

Both properties accept RadAnimation values.

Here is an example:

<telerikCore:RadPlaneProjectionAnimation x:Key="rotateRightAnimation" Axes="Z" StartAngleZ="-90" EndAngleZ="0"/>
<telerikCore:RadPlaneProjectionAnimation x:Key="rotateLeftAnimation" Axes="Z" StartAngleZ="90" EndAngleZ="0"/>
private void InitializePhoneApplication()
if ( phoneApplicationInitialized )
// 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.
RadPhoneApplicationFrame frame = new RadPhoneApplicationFrame();
frame.ClockwiseOrientationChangeAnimation = this.Resources[ "rotateRightAnimation" ] as RadPlaneProjectionAnimation;
frame.CounterClockwiseOrientationChangeAnimation = this.Resources[ "rotateLeftAnimation" ] as RadPlaneProjectionAnimation;
RootFrame = frame;
RootFrame.Navigated += CompleteInitializePhoneApplication;
// Handle navigation failures
RootFrame.NavigationFailed += RootFrame_NavigationFailed;
// Ensure we don't initialize again
phoneApplicationInitialized = true;

The OrientationChangeAnimation property previosly exposed by RadPhoneApplicationFrame is now obsolete and should not be used.