This is a migrated thread and some comments may be shown as answers.

Open animation

1 Answer 36 Views
ContextMenu
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Paolo
Top achievements
Rank 1
Paolo asked on 18 Apr 2014, 11:42 AM
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. ;)

1 Answer, 1 is accepted

Sort by
0
Victor
Telerik team
answered on 23 Apr 2014, 07:27 AM
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.

 
Tags
ContextMenu
Asked by
Paolo
Top achievements
Rank 1
Answers by
Victor
Telerik team
Share this question
or