Close/Open wpf radwindow slow

3 posts, 0 answers
  1. Jc
    Jc avatar
    25 posts
    Member since:
    Sep 2012

    Posted 15 Mar 2013 Link to this post

    Hi guys,

    If you compare regular window to radwindow opening/closing time, you'll noticed that there is a little difference.
    Is there any way to customize the wpf radwindow open/close speed, or remove the animation effects if there are any? 

    Thank you.
    KR,
    JC
  2. Boyan
    Admin
    Boyan avatar
    758 posts

    Posted 20 Mar 2013 Link to this post

    Hi,

    You can control the animations by AnimationManager. You can disable animation from XAML like this:
    telerik:AnimationManager.IsAnimationEnabled="True"
    Or you can play with the speed of the animation in code like this:
    AnimationManager.AnimationSpeedRatio = 0.5;


    Kind regards,
    Boyan
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Jc
    Jc avatar
    25 posts
    Member since:
    Sep 2012

    Posted 20 Mar 2013 Link to this post

    Thank you for the answer, it works fine.
    I did it from C#, so it gives the following, in the window constructor:
    Telerik.Windows.Controls.Animation.AnimationManager.SetIsAnimationEnabled(this, false);

    Kind regards,
    JC
Back to Top