We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Unable to Change AnimationType in running program

Thread ID:





118920 Apr 23,2015 12:35 PM UTC Apr 24,2015 12:11 PM UTC WPF 1
Tags: SfBusyIndicator
Kay Estelmann
Asked On April 23, 2015 12:35 PM UTC

Hey there,

I'm trying to change the value of the SfBusyIndicatior.AnimationType depending on Values of a Combobox. So the next time the busyindicator is shown it should play the animation selected by the value of the combobox.
This works if the Combobox has a default value, otherwise the busyindicator is initialized with the flower animation as default. So the first time setting the animation type on program startup sets the correct value.

I've tried to change the AnimationType value by XAML binding with a converter and via code behind. Both with the same result. The property is set correctly but when the busyindicator is displayed it shows 2 animations at the same time. The animation set on program startup and the newly selected animation.
Setting the animationtype in code behind I tried different ways
  • setting the property directly via busyindicator.AnimationType = ....
  • setting the property directly and calling busyindicator.InvalidateVisual();
  • calling busyindicator.clearValue(SfBusyIndicator.AnimationType) and setting the property directly
  • calling busyindicatior.InvalidateProperty(SfBusyIndicator.AnimationType) and setting the property directly
  • setting the property calling busyindicator.SetValue(SfBusyIndicator.AnimationType, newValue) 
  • setting the property calling busyindicator.SetCurrentValue(SfBusyIndicator.AnimationType, newValue)
  • Setting the busyindicator control of the mainwindow to busyindicator = new SfBusyIndicator() and then setting the AnimationType property directly

Everything ends in the same result that 2 animations are shown simultaniously at the same position.

Any help or hint is highly appreciated. Thanks.

Sugapriya Mariappan [Syncfusion]
Replied On April 24, 2015 12:11 PM UTC

Hi Kay,
We were able to reproduce the issue and have logged defect report regarding this. A support incident to track the status of this defect has been created under your account. Please log on to our support website to check for further updates
Please let me know if you have any questions.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon