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

Menu opening animation

5 Answers 75 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Tom
Top achievements
Rank 1
Tom asked on 01 Dec 2010, 12:29 PM
Hi

When the Menus open, they expand vertically from the top. Can I easily change this so that they just appear instantly? Or perhaps make the fade in?

Thanks
Tom Davies
Peavey Digital Research

5 Answers, 1 is accepted

Sort by
0
Tom
Top achievements
Rank 1
answered on 01 Dec 2010, 07:17 PM
Hi

Just to update, I resolved this myself by deleting the animation entry in the menu style template xaml file, then recompling the Telerik Sourcecode.

Thanks
Tom
0
Tim
Top achievements
Rank 1
answered on 13 Feb 2011, 04:11 AM
Would it be possible for Telerik to make this an easy-to-change option? I'd like to turn all menu animation off too but would prefer not to have to rebuild the source and use a custom version of the libs to do it.

Thanks
0
Kaloyan
Telerik team
answered on 16 Feb 2011, 09:39 AM
Hello Tim,

Most of our controls are animated via our AnimationManager framework. This is an attached property set in the template of each control(as you already spotted). You can easily turn off all of the animations using this property:

AnimationManager.IsGlobalAnimationEnabled = false;

Best wishes,
Kaloyan
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
Tim
Top achievements
Rank 1
answered on 16 Feb 2011, 03:07 PM
Ok thanks for your help.

Doing this seemed to give me the behavior I was looking for:

            AnimationManager.SetAnimationSelector(this.radMenu1, null);
0
Kaloyan
Telerik team
answered on 18 Feb 2011, 10:09 AM
Hello Tim,

This is another good alternative.

Kind regards,
Kaloyan
the Telerik team
Tags
Menu
Asked by
Tom
Top achievements
Rank 1
Answers by
Tom
Top achievements
Rank 1
Tim
Top achievements
Rank 1
Kaloyan
Telerik team
Share this question
or