7 Answers, 1 is accepted
What you need to disable the Animations of the RadWindow control is to either set the AnimationManager.IsAnimationEnabled attached property to the RadWindow control to False, either to set the AnimationManager.AnimationSelector attached property to the RadWindow control to null.
Hope this helps!
Miroslav Nedyalkov
the Telerik team
Thanks it works when I add in my control constructor :
this
.MyWindowControl.SetValue(AnimationManager.IsAnimationEnabledProperty, false);
Or
this
.MyWindowControl.SetValue(AnimationManager.AnimationSelectorProperty, null);
But can I set this property for all RadWindows (not on each RadWindow) ?
(in MyPage.xam.cs or in App.xaml.cs)
You could use Implicit style and put it in App.xaml or create a custom theme and set it as Application theme.
Regards,Miroslav Nedyalkov
the Telerik team
Can you tell me how to write this style for RadWindow with "xmlns" to use because this is not ok :
xmlns:telerikNavigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation" |
<Style TargetType="telerikNavigation:RadWindow"> |
<Setter Property="AnimationManager.IsAnimationEnabledProperty" Value="False" /> |
</Style> |
The IsAnimationEnabledProperty property is currently not working. We will investigate what causes the problem. Would you please try to set the AnimationSelector property to null. This should stop the animations.
All the best,Miroslav Nedyalkov
the Telerik team
Please refer to the attached project.
Regards,Miroslav Nedyalkov
the Telerik team