Disable animation between different ViewDefinitions

2 posts, 0 answers
  1. shay keren
    shay keren avatar
    14 posts
    Member since:
    May 2006

    Posted 04 Sep 2012 Link to this post

    I'm using RadSchedulerView and i would like to disable the animation when ViewDefinitionChanged occurs.
    what should i do?

  2. Yana
    Yana avatar
    4604 posts

    Posted 05 Sep 2012 Link to this post

    Hello Shay,

    The SlideAndZoom animation which is played when changing the ViewDeifintions, comes from a TransitionControl placed in the RadScheduleView ControlTemplate.  So you should modify the template in order to remove the animation.

    I would suggest to use Implicit Styles to style RadControls as explained in the following article:

    You should go to Telerik.Windows.Controls.ScheduleView,xaml and search for "PART_TranstionControl" - the Name of the used RadTransitionControl. Then just set the Duration of the animation to "0":

       <telerik:RadTransitionControl x:Name="PART_TranstionControl" Grid.Row="1" Duration="00:00:00.000">

    Hope this helps.

    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top