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

Close/Open wpf radwindow slow

2 Answers 246 Views
Window
This is a migrated thread and some comments may be shown as answers.
Jc
Top achievements
Rank 1
Jc asked on 15 Mar 2013, 06:33 AM
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 Answers, 1 is accepted

Sort by
0
Boyan
Telerik team
answered on 20 Mar 2013, 09:18 AM
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.

0
Jc
Top achievements
Rank 1
answered on 20 Mar 2013, 09:37 AM
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
Tags
Window
Asked by
Jc
Top achievements
Rank 1
Answers by
Boyan
Telerik team
Jc
Top achievements
Rank 1
Share this question
or