Open animation

2 posts, 0 answers
  1. Paolo
    Paolo avatar
    1 posts
    Member since:
    Apr 2014

    Posted 18 Apr 2014 Link to this post

    Is there a way I can set an open animation to the RadContextMenu similar to the one used in the Windows Phone 8 Os?
    Example: the email app opens the context menu by resizing its width, then by resizing its height.

    To achieve this I'd need to run animations one after the other.
    Is there a way to do it in XAML or should I use code to start the next animation when the previous has ended?

    Many thanks. ;)
  2. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 23 Apr 2014 Link to this post

    Hello Paolo,

    Thanks for writing.
    Yes, if you decide to implement it manually you will have to start one animation wait for it to finish and then start the second animation. We currently provide such an animation, it is called ContextMenuOpenAnimation and you can set it on RadContextMenu's OpenAnimation property. For example:
    RadContextMenu menu = new RadContextMenu()
    menu.OpenAnimation = new ContextMenuOpenAnimation();


    Regards,
    Victor
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. DevCraft banner
Back to Top