It is possible to make "selectionchanged" animation?

2 posts, 0 answers
  1. Eran
    Eran avatar
    2 posts
    Member since:
    Sep 2009

    Posted 03 Sep 2009 Link to this post

    I wanted to know if it's possible to make an animation when selected tab changed.

    If it is, there is an animation sample same as after I press "View Code" button in the demos section?
    It is possible to put it in the selectionchanged animation?

    BR, Eran
  2. Miroslav
    Miroslav avatar
    922 posts

    Posted 03 Sep 2009 Link to this post

    Hi Eran,

    The problem with animating the content is that the selected content in the TabControl is changed right after the menu is selected and there is never a second object that you can animate.

    One possibility here is to use a WritableBitmap in which to draw the old content and then animate this WritableBitmap. This though will not be trivial because it will most probably involve inheriting the TabControl and changing its ControlTemplate to add the Image and plug in the logic with the WritableBitmap.

    In short - it is possible but it will involve a lot of custom code.

    Best wishes,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft R3 2016 release webinar banner
Back to Top