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.
Unfortunately, activation email could not send to your email. Please try again.

Unable to Change AnimationType in running program

Thread ID:

Created:

Updated:

Platform:

Replies:

118920 Apr 23,2015 08:35 AM Apr 24,2015 08:11 AM WPF 1
loading
Tags: SfBusyIndicator
Kay Estelmann
Asked On April 23, 2015 08:35 AM

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 08:11 AM

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
https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents
Please let me know if you have any questions.
Regards,
M.Sugapriya

CONFIRMATION

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.

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.

;