Menu opening animation

6 posts, 0 answers
  1. Tom
    Tom avatar
    50 posts
    Member since:
    Oct 2010

    Posted 01 Dec 2010 Link to this post

    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
  2. Tom
    Tom avatar
    50 posts
    Member since:
    Oct 2010

    Posted 01 Dec 2010 Link to this post

    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
  3. UI for WPF is Visual Studio 2017 Ready
  4. Tim
    Tim avatar
    4 posts
    Member since:
    Jan 2011

    Posted 12 Feb 2011 Link to this post

    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
  5. Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 16 Feb 2011 Link to this post

    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>>
  6. Tim
    Tim avatar
    4 posts
    Member since:
    Jan 2011

    Posted 16 Feb 2011 Link to this post

    Ok thanks for your help.

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

                AnimationManager.SetAnimationSelector(this.radMenu1, null);
  7. Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 18 Feb 2011 Link to this post

    Hello Tim,

    This is another good alternative.

    Kind regards,
    Kaloyan
    the Telerik team
Back to Top
UI for WPF is Visual Studio 2017 Ready