Article relates to
RadNavigation for Silverlight v2009.1.413
22, April, 2009
Last modified by
Implement custom Transition animation in Silverlight RadNavigation. Solution:
All you need to do to implement a custom transition effect in RadNavigation is to simply implement the ITransition interface and add a storyboard animation to it.
There are tree important steps: 1. Implement IFrame 2. Create the storyboard animation 3. Integrate the animation with RadNavigations NavigationService target in Begin(IFrame) method.
Below is shown how you can create a simple slide animation:
The next step is to use this animation in the Begin(IFrame) method. The important steps here are: 1. Get an instance of the NavigationService
2. Set the IsRunning property to true (this means that the current animation begins) 3. Get instances of the CurrentPage that is in the panel and the new one, to which you are navigating 4. After the animation has been completed remove the unnecessary page from the target panel and set IsRunning back to false
Copyright © 2017, Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.